From 8a582330e9a69cc7a3189349e502a5cb9e3f13b4 Mon Sep 17 00:00:00 2001 From: horwitz Date: Fri, 11 Mar 2011 09:30:18 +0000 Subject: [PATCH] Fix:core:Fix some warnings git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4329 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/gui/internal/gui_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navit/navit/gui/internal/gui_internal.c b/navit/navit/gui/internal/gui_internal.c index f3c104a..bf7b7f8 100644 --- a/navit/navit/gui/internal/gui_internal.c +++ b/navit/navit/gui/internal/gui_internal.c @@ -4643,7 +4643,7 @@ gui_internal_set_refresh_callback(struct gui_priv *this, char *cond) if (!func || !func->add_attr) return; menu_data->refresh_callback.type=attr_callback; - menu_data->refresh_callback.u.callback=callback_new_attr_2(gui_internal_refresh_callback_called,type,this,menu_data); + menu_data->refresh_callback.u.callback=callback_new_attr_2(callback_cast(gui_internal_refresh_callback_called),type,this,menu_data); func->add_attr(menu_data->refresh_callback_obj.u.data, &menu_data->refresh_callback); } } -- 2.7.4