From 08575f0debd6236f51e6f36e10a77b7aefe12358 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 1 Mar 2007 12:18:30 +0000 Subject: fix builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12531 a1c6a512-1295-4272-9138-f99709370657 --- apps/root_menu.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/root_menu.c b/apps/root_menu.c index b148f8d827..faebc96eef 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -29,7 +29,9 @@ #include "debug.h" #include "misc.h" #include "rolo.h" +#if LCD_DEPTH > 1 #include "backdrop.h" +#endif #include "talk.h" #include "audio.h" @@ -44,7 +46,9 @@ #include "main_menu.h" #include "tree.h" +#if CONFIG_TUNER #include "radio.h" +#endif #ifdef HAVE_RECORDING #include "recording.h" #endif @@ -74,7 +78,7 @@ static int browser(void* param) /* and stuff for the database browser */ static int last_db_dirlevel = 0; - switch ((int)param) + switch ((intptr_t)param) { case GO_TO_FILEBROWSER: filter = global_settings.dirfilter; @@ -102,7 +106,7 @@ static int browser(void* param) break; } ret_val = rockbox_browse(folder, filter); - switch ((int)param) + switch ((intptr_t)param) { case GO_TO_FILEBROWSER: strcpy(last_folder, tc->currdir); -- cgit v1.2.3