diff options
author | William Wilgus <me.theuser@yahoo.com> | 2018-10-15 23:04:04 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-10-18 00:06:31 +0200 |
commit | dd40c46d50f9f22643b828e80783d3576b9c1d50 (patch) | |
tree | b9700f7cbe53bb10e89d91b0c3cf1fea686eb813 /apps/menus/eq_menu.h | |
parent | e6b23a8f049a89f9f6254a7fa186d33dc65b0ba3 (diff) | |
download | rockbox-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/eq_menu.h')
-rw-r--r-- | apps/menus/eq_menu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/eq_menu.h b/apps/menus/eq_menu.h index 8147088c2b..04e8be2ead 100644 --- a/apps/menus/eq_menu.h +++ b/apps/menus/eq_menu.h | |||
@@ -40,7 +40,7 @@ | |||
40 | #define EQ_USER_DIVISOR 10 | 40 | #define EQ_USER_DIVISOR 10 |
41 | 41 | ||
42 | bool eq_browse_presets(void); | 42 | bool eq_browse_presets(void); |
43 | bool eq_menu_graphical(void); | 43 | int eq_menu_graphical(void); |
44 | 44 | ||
45 | /* utility functions for settings_list.c */ | 45 | /* utility functions for settings_list.c */ |
46 | const char* eq_q_format(char* buffer, size_t buffer_size, int value, | 46 | const char* eq_q_format(char* buffer, size_t buffer_size, int value, |