projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a51d8
)
com32/lib: fix inappropriate & in sys/colortable.c
author
H. Peter Anvin
<hpa@zytor.com>
Sun, 10 Jan 2010 21:03:47 +0000
(13:03 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Sun, 10 Jan 2010 21:03:47 +0000
(13:03 -0800)
The & is incorrect... not actively harmful, but generates a warning.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/sys/colortable.c
patch
|
blob
|
history
diff --git
a/com32/lib/sys/colortable.c
b/com32/lib/sys/colortable.c
index
df6d978
..
ab1c424
100644
(file)
--- 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));