Fix some warnings in lttv/modules/gui
[lttv.git] / lttv / modules / gui / lttvwindow / lttvwindow / lttvwindow.c
index d48602082c37b3ebe98a6712647db824160ff3dd..ee3f9246063d47ce243fa6aa5a5a3c867158ed04 100644 (file)
@@ -127,7 +127,9 @@ void set_current_position(Tab *tab, const LttvTracesetContextPosition *pos)
     "hooks/updatecurrentposition", LTTV_POINTER, &value);
   g_assert(retval);
   tmp = (LttvHooks*)*(value.v_pointer);
-  if(tmp != NULL) lttv_hooks_call(tmp, pos);
+  if (tmp != NULL) {
+    lttv_hooks_call(tmp, (void *) pos);
+  }
 }
 
 void add_toolbar_constructor(MainWindow *mw, LttvToolbarClosure *toolbar_c)
This page took 0.028273 seconds and 4 git commands to generate.