mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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
This commit is contained in:
parent
ade8ae9acb
commit
acbd780239
6 changed files with 21 additions and 20 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue