summaryrefslogtreecommitdiff
path: root/apps/menus/time_menu.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-10-15 23:04:04 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2018-10-18 00:06:31 +0200
commitdd40c46d50f9f22643b828e80783d3576b9c1d50 (patch)
treeb9700f7cbe53bb10e89d91b0c3cf1fea686eb813 /apps/menus/time_menu.c
parente6b23a8f049a89f9f6254a7fa186d33dc65b0ba3 (diff)
downloadrockbox-dd40c46d50f9f22643b828e80783d3576b9c1d50.tar.gz
rockbox-dd40c46d50f9f22643b828e80783d3576b9c1d50.zip
Fix menu warnings
change offending bool return to int warning: cast between incompatible function types from '_Bool (*)(void)' to 'int (*)(void)' [-Wcast-function-type] forgot to remove -- typedef int (*menu_function)(void); Change-Id: Ie4c8d3ddb0fb7843c4ec584203350d658d6bee3e
Diffstat (limited to 'apps/menus/time_menu.c')
-rw-r--r--apps/menus/time_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c
index a6885a3dbc..93ca786cea 100644
--- a/apps/menus/time_menu.c
+++ b/apps/menus/time_menu.c
@@ -82,7 +82,7 @@ MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME),
82MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL); 82MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL);
83#ifdef HAVE_RTC_ALARM 83#ifdef HAVE_RTC_ALARM
84MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU), 84MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU),
85 (menu_function)alarm_screen, NULL, NULL, Icon_NOICON); 85 alarm_screen, NULL, NULL, Icon_NOICON);
86#if CONFIG_TUNER || defined(HAVE_RECORDING) 86#if CONFIG_TUNER || defined(HAVE_RECORDING)
87 87
88#if CONFIG_TUNER && !defined(HAVE_RECORDING) 88#if CONFIG_TUNER && !defined(HAVE_RECORDING)