summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";