aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2010-05-12 21:49:10 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2010-05-12 21:51:27 +0200
commite4b5d2b10c3997595dda83669c3638d2edcafa60 (patch)
tree086e7921b43aa9d819539b7eca15836a05278780
parent357eabf614ded34a4697da67402f4dd923c3c6a9 (diff)
downloadcontrib-e4b5d2b10c3997595dda83669c3638d2edcafa60.tar.gz
contrib-e4b5d2b10c3997595dda83669c3638d2edcafa60.tar.xz
contrib-e4b5d2b10c3997595dda83669c3638d2edcafa60.zip
hdt: casting to avoid useless warning
-rw-r--r--com32/hdt/hdt-menu-syslinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-menu-syslinux.c b/com32/hdt/hdt-menu-syslinux.c
index 02de5b31..aaddf179 100644
--- 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++;