From 9e95e306cd6f17bc8f22d71608a21d47064b21eb Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 8 Apr 2007 06:15:34 +0000 Subject: fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13069 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/menu.c b/apps/menu.c index 34a6d0e..8d44648 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -668,7 +668,7 @@ int menu_init(const struct menu_item* mitems, int count, int (*callback)(int, in menus[menu].callback = callback; menus[menu].current_selection = 0; if ((button2 == NULL) && (button3 == NULL)) - menus[menu].title = button1; + menus[menu].title = (char*)button1; else menus[menu].title = NULL; return menu; } @@ -707,6 +707,7 @@ static char* oldmenuwrapper_getname(int selected_item, #ifdef HAVE_LCD_BITMAP static void oldmenu_get_icon(int selected_item, void * data, ICON * icon) { + (void)data; (void)selected_item; *icon = bitmap_icons_6x8[Icon_Menu_functioncall]; } #endif -- cgit v1.1