From: Erwan Velu Date: Wed, 12 May 2010 19:49:10 +0000 (+0200) Subject: hdt: casting to avoid useless warning X-Git-Tag: syslinux-4.00-pre46~1^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc122356f56a3cb45a01d31ecadf1f4f1f2e8441;p=profile%2Fivi%2Fsyslinux.git hdt: casting to avoid useless warning --- diff --git a/com32/hdt/hdt-menu-syslinux.c b/com32/hdt/hdt-menu-syslinux.c index 02de5b3..aaddf17 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++;