From dd40c46d50f9f22643b828e80783d3576b9c1d50 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 15 Oct 2018 23:04:04 -0400 Subject: 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 --- apps/menus/eq_menu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/menus/eq_menu.h') 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 @@ #define EQ_USER_DIVISOR 10 bool eq_browse_presets(void); -bool eq_menu_graphical(void); +int eq_menu_graphical(void); /* utility functions for settings_list.c */ const char* eq_q_format(char* buffer, size_t buffer_size, int value, -- cgit v1.2.3