[syslinux:master] hdt: casting to avoid useless warning

syslinux-bot for Erwan Velu erwanaliasr1 at gmail.com
Wed May 12 15:00:37 PDT 2010


Commit-ID:  cc122356f56a3cb45a01d31ecadf1f4f1f2e8441
Gitweb:     http://syslinux.zytor.com/commit/cc122356f56a3cb45a01d31ecadf1f4f1f2e8441
Author:     Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Wed, 12 May 2010 21:49:10 +0200
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 12 May 2010 14:57:03 -0700

hdt: casting to avoid useless warning



---
 com32/hdt/hdt-menu-syslinux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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++;
 



More information about the Syslinux-commits mailing list