diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-11-20 19:50:52 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-11-20 19:50:52 +0000 |
commit | acbd78023965cce0b0499ff150caf8078cb33b58 (patch) | |
tree | 5da45c3ae17f0ec27b5057910feec68ff35ec377 /apps/settings.h | |
parent | ade8ae9acbcaaf2a61fed00160f6c46aba052c16 (diff) |
Make id's created with the TALK_ID macro work in 64 bit sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15723 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.h b/apps/settings.h index c4db9a18b4..e5a2b1790b 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -41,7 +41,7 @@ struct opt_items { unsigned const char* string; - long voice_id; + int32_t voice_id; }; /** Setting values defines **/ @@ -254,7 +254,7 @@ bool set_int_ex(const unsigned char* string, const char* unit, int voice_unit, int* variable, void (*function)(int), int step, int min, int max, void (*formatter)(char*, size_t, int, const char*), - long (*get_talk_id)(int)); + int32_t (*get_talk_id)(int)); /* the following are either not in setting.c or shouldnt be */ bool set_time_screen(const char* string, struct tm *tm); |