summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c
index ec92578ee6..07ee93bc16 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -115,7 +115,7 @@ static int open_voicefile(void)
115 if ( global_settings.lang_file[0] && 115 if ( global_settings.lang_file[0] &&
116 global_settings.lang_file[0] != 0xff ) 116 global_settings.lang_file[0] != 0xff )
117 { /* try to open the voice file of the selected language */ 117 { /* try to open the voice file of the selected language */
118 p_lang = global_settings.lang_file; 118 p_lang = (char *)global_settings.lang_file;
119 } 119 }
120 120
121 snprintf(buf, sizeof(buf), ROCKBOX_DIR LANG_DIR "/%s.voice", p_lang); 121 snprintf(buf, sizeof(buf), ROCKBOX_DIR LANG_DIR "/%s.voice", p_lang);