summaryrefslogtreecommitdiff
path: root/apps/menus/eq_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-02-21 06:45:11 +0000
committerJens Arnold <amiconn@rockbox.org>2007-02-21 06:45:11 +0000
commit8d7a364063c8ff47c1991a3c4e814e65e6ce5fd6 (patch)
treebd08e5cbfbe61ea853a6381aee6ef9c2fc2cefc6 /apps/menus/eq_menu.c
parent4772943243d9af303ba2b5129bfd876a439630fc (diff)
Fix 64 bit warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12424 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/eq_menu.c')
-rw-r--r--apps/menus/eq_menu.c4
1 files changed, 2 insertions, 2 deletions
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];