fix builds

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12531 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-03-01 12:18:30 +00:00
parent c423e878ee
commit 08575f0deb
1 changed files with 6 additions and 2 deletions

View File

@ -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);