From d63f2375a20e37c12a93737b34d723fb8cac3c26 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 25 Nov 2007 18:01:04 +0000 Subject: [PATCH] Fix 64 bit warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15804 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/option_select.c | 2 +- apps/settings_list.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c index 54413555c8..a72cdb5a60 100644 --- a/apps/gui/option_select.c +++ b/apps/gui/option_select.c @@ -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; diff --git a/apps/settings_list.h b/apps/settings_list.h index b738076607..f29d7d27d1 100644 --- a/apps/settings_list.h +++ b/apps/settings_list.h @@ -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;