Fix 64 bit warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15804 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-11-25 18:01:04 +00:00
parent d490f44112
commit d63f2375a2
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@ static int option_talk(int selected_item, void * data)
const struct int_setting *int_info = setting->int_setting;
const struct table_setting *tbl_info = setting->table_setting;
int unit;
long (*get_talk_id)(int);
int32_t (*get_talk_id)(int);
if ((setting->flags & F_INT_SETTING) == F_INT_SETTING)
{
unit = int_info->unit;

View file

@ -89,7 +89,7 @@ struct choice_setting {
struct table_setting {
void (*option_callback)(int);
void (*formatter)(char*, size_t, int, const char*);
long (*get_talk_id)(int);
int32_t (*get_talk_id)(int);
int unit;
int count;
const int * values;