diff options
-rw-r--r-- | apps/gui/option_select.c | 2 | ||||
-rw-r--r-- | 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; |