From 87b2654ad7db2fcec557c5147910f7541e3be13b Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 19 Aug 2009 13:49:12 +0200 Subject: [PATCH] fix warning in viewport.c --- apps/gui/viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index 868c4f3d6..40efbfc30 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -250,7 +250,7 @@ static void viewportmanager_ui_vp_changed(void *param) FOR_NB_SCREENS(i) screens[i].clear_display(); /* redraw the statusbar if it was enabled */ - send_event(GUI_EVENT_ACTIONUPDATE, !NULL); + send_event(GUI_EVENT_ACTIONUPDATE, (void*)true); /* call the passed function which will redraw the content of * the current screen */ if (param != NULL) -- 2.11.4.GIT