summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-04-04 20:34:28 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-04-04 20:34:28 +0000
commitc778aa6ac8661d630ade6888b69b3f624b0bc0ac (patch)
tree26713648b6970413681d07c39b227fda1101b5fd
parentc8592bac33920c367ae574e76ac7b6b73e0353c3 (diff)
downloadrockbox-c778aa6ac8661d630ade6888b69b3f624b0bc0ac.tar.gz
rockbox-c778aa6ac8661d630ade6888b69b3f624b0bc0ac.zip
warning and simulator build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4466 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tree.c2
-rw-r--r--uisimulator/common/stubs.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 01aabf7d82..31fe0e2d4b 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1511,7 +1511,7 @@ static bool dirbrowse(char *root, int *dirfilter)
1511 else if (global_settings.talk_file == 1) /* files as numbers */ 1511 else if (global_settings.talk_file == 1) /* files as numbers */
1512 { 1512 {
1513 /* try to find a voice ID for the extension, if known */ 1513 /* try to find a voice ID for the extension, if known */
1514 int j; 1514 unsigned int j;
1515 int ext_id = -1; /* default to none */ 1515 int ext_id = -1; /* default to none */
1516 for (j=0; j<sizeof(filetypes)/sizeof(*filetypes); j++) 1516 for (j=0; j<sizeof(filetypes)/sizeof(*filetypes); j++)
1517 { 1517 {
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index b9b0a047e2..78e521b326 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -260,4 +260,11 @@ int talk_number(int n, bool enqueue)
260 return 0; 260 return 0;
261} 261}
262 262
263int talk_spell(char* spell, bool enqueue)
264{
265 (void)spell;
266 (void)enqueue;
267 return 0;
268}
269
263const char* dir_thumbnail_name = ".dirname.mp3"; 270const char* dir_thumbnail_name = ".dirname.mp3";