[syslinux:master] com32/lib: fix inappropriate & in sys/colortable.c

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Jan 10 13:24:05 PST 2010


Commit-ID:  393a9402b36c9b1ef866a7230e0e4e46781a1a09
Gitweb:     http://syslinux.zytor.com/commit/393a9402b36c9b1ef866a7230e0e4e46781a1a09
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 10 Jan 2010 13:03:47 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 10 Jan 2010 13:03:47 -0800

com32/lib: fix inappropriate & in sys/colortable.c

The & is incorrect... not actively harmful, but generates a warning.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 com32/lib/sys/colortable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/com32/lib/sys/colortable.c b/com32/lib/sys/colortable.c
index df6d978..ab1c424 100644
--- a/com32/lib/sys/colortable.c
+++ b/com32/lib/sys/colortable.c
@@ -4,6 +4,6 @@ static struct color_table default_color_table[] = {
     {"default", "0", 0xffffffff, 0x00000000, SHADOW_NORMAL}
 };
 
-struct color_table *console_color_table = &default_color_table;
+struct color_table *console_color_table = default_color_table;
 int console_color_table_size =
     (sizeof default_color_table / sizeof(struct color_table));



More information about the Syslinux-commits mailing list