summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-08 04:20:28 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-08 04:20:28 +0000
commit7cb46f2f3e939645e0bf349e6308b4baa3b41806 (patch)
tree5f5ceb1d076c1dbfefd3029a9d8e8617ae4cee33
parentfe3fa144c6a4da6b5b653bb521f5d93e72e3aca8 (diff)
downloadrockbox-7cb46f2f3e939645e0bf349e6308b4baa3b41806.tar.gz
rockbox-7cb46f2f3e939645e0bf349e6308b4baa3b41806.zip
Really fix the yellow this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12682 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 0bd34a1cd3..d7f453d594 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,
- (intptr_t)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,
- (intptr_t)m, Icon_NOICON
+ (intptr_t*)m, Icon_NOICON
};
menu.flags = (MENU_TYPE_MASK&MT_OLD_MENU) | MENU_DYNAMIC_DESC |