From 8d7a364063c8ff47c1991a3c4e814e65e6ce5fd6 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 21 Feb 2007 06:45:11 +0000 Subject: Fix 64 bit warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12424 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/eq_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/menus/eq_menu.c') diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index e7e313e7b2..c66e5a20c0 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c @@ -169,13 +169,13 @@ static const struct menu_item_ex *band_items[3][3] = { char* centerband_get_name(int selected_item, void * data, char *buffer) { (void)selected_item; - int band = (int)data; + int band = (intptr_t)data; snprintf(buffer, MAX_PATH, str(LANG_EQUALIZER_BAND_PEAK), band); return buffer; } int do_center_band_menu(void* param) { - int band = (int)param; + int band = (intptr_t)param; struct menu_item_ex menu; struct menu_callback_with_desc cb_and_desc; char desc[MAX_PATH]; -- cgit v1.2.3