summaryrefslogtreecommitdiff
path: root/apps/tagtree.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/tagtree.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/tagtree.c')
-rw-r--r--apps/tagtree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index ba27c84f6a..c188a900fa 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -967,7 +967,7 @@ static void tagtree_track_finish_event(unsigned short id, void *ev_data)
967#endif 967#endif
968} 968}
969 969
970bool tagtree_export(void) 970int tagtree_export(void)
971{ 971{
972 struct tagcache_search tcs; 972 struct tagcache_search tcs;
973 973
@@ -977,10 +977,10 @@ bool tagtree_export(void)
977 splash(HZ*2, ID2P(LANG_FAILED)); 977 splash(HZ*2, ID2P(LANG_FAILED));
978 } 978 }
979 979
980 return false; 980 return 0;
981} 981}
982 982
983bool tagtree_import(void) 983int tagtree_import(void)
984{ 984{
985 splash(0, ID2P(LANG_WAIT)); 985 splash(0, ID2P(LANG_WAIT));
986 if (!tagcache_import_changelog()) 986 if (!tagcache_import_changelog())
@@ -988,7 +988,7 @@ bool tagtree_import(void)
988 splash(HZ*2, ID2P(LANG_FAILED)); 988 splash(HZ*2, ID2P(LANG_FAILED));
989 } 989 }
990 990
991 return false; 991 return 0;
992} 992}
993 993
994static bool parse_menu(const char *filename); 994static bool parse_menu(const char *filename);