diff options
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings.h b/apps/settings.h index 36b4a839a4..78f46eaa4f 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -69,7 +69,7 @@ | |||
69 | #define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */ | 69 | #define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */ |
70 | #ifdef SIMULATOR | 70 | #ifdef SIMULATOR |
71 | /* a space which is defined in stubs.c */ | 71 | /* a space which is defined in stubs.c */ |
72 | extern unsigned char vp_dummy[VIRT_SIZE]; | 72 | extern unsigned char vp_dummy[VIRT_SIZE]; |
73 | #define VIRT_PTR vp_dummy | 73 | #define VIRT_PTR vp_dummy |
74 | #else | 74 | #else |
75 | /* a location where we won't store strings, 0 is the fastest */ | 75 | /* a location where we won't store strings, 0 is the fastest */ |
@@ -250,7 +250,7 @@ struct user_settings | |||
250 | enum optiontype { INT, BOOL }; | 250 | enum optiontype { INT, BOOL }; |
251 | 251 | ||
252 | struct opt_items { | 252 | struct opt_items { |
253 | unsigned char* string; | 253 | unsigned const char* string; |
254 | int voice_id; | 254 | int voice_id; |
255 | }; | 255 | }; |
256 | 256 | ||
@@ -291,7 +291,7 @@ extern struct user_settings global_settings; | |||
291 | extern long lasttime; | 291 | extern long lasttime; |
292 | 292 | ||
293 | /* Recording base directory */ | 293 | /* Recording base directory */ |
294 | extern char rec_base_directory[]; | 294 | extern const char rec_base_directory[]; |
295 | 295 | ||
296 | /* system defines */ | 296 | /* system defines */ |
297 | 297 | ||