summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-08 00:51:20 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-08 00:51:20 +0000
commitfe3fa144c6a4da6b5b653bb521f5d93e72e3aca8 (patch)
tree0f945fb565f2254ae77ba82ada8f0e01bd8932e5
parent7ce492e693b298a665706ffd83f504e916da02f3 (diff)
downloadrockbox-fe3fa144c6a4da6b5b653bb521f5d93e72e3aca8.tar.gz
rockbox-fe3fa144c6a4da6b5b653bb521f5d93e72e3aca8.zip
fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12681 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 586876e929..0bd34a1cd3 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -677,7 +677,7 @@ static void init_oldmenu(const struct menu_item_ex *menu,
{
(void)callback;
gui_synclist_init(lists, oldmenuwrapper_getname,
- (void*)menu->value, false, 1);
+ (intptr_t)menu->value, false, 1);
gui_synclist_set_nb_items(lists,
(menu->flags&MENU_COUNT_MASK)>>MENU_COUNT_SHIFT);
gui_synclist_limit_scroll(lists, true);
@@ -699,7 +699,7 @@ int menu_show(int m)
{
oldmenuwrapper_callback,
oldmenuwrapper_getname,
- (void*)m, Icon_NOICON
+ (intptr_t)m, Icon_NOICON
};
menu.flags = (MENU_TYPE_MASK&MT_OLD_MENU) | MENU_DYNAMIC_DESC |