projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5b96c
)
hdt: casting to avoid useless warning
author
Erwan Velu
<erwanaliasr1@gmail.com>
Wed, 12 May 2010 19:49:10 +0000
(21:49 +0200)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Wed, 12 May 2010 21:57:03 +0000
(14:57 -0700)
com32/hdt/hdt-menu-syslinux.c
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-menu-syslinux.c
b/com32/hdt/hdt-menu-syslinux.c
index
02de5b3
..
aaddf17
100644
(file)
--- a/
com32/hdt/hdt-menu-syslinux.c
+++ b/
com32/hdt/hdt-menu-syslinux.c
@@
-74,7
+74,7
@@
void compute_syslinuxmenu(struct s_my_menu *menu, struct s_hardware *hardware)
snprintf(buffer, sizeof buffer, "%s", hardware->sv->copyright_string);
/* Remove the trailing LF in the copyright string to avoid scrolling */
snprintf(statbuffer, sizeof statbuffer, "%s",
- remove_trailing_lf(hardware->sv->copyright_string));
+ remove_trailing_lf(
(char *)
hardware->sv->copyright_string));
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;