fix warning

This commit is contained in:
ehouse 2006-02-18 06:35:48 +00:00
parent 353d65987d
commit 00459487c1

View file

@ -1048,7 +1048,7 @@ pentimer_idle_func( gpointer data )
gettimeofday( &tv, NULL ); gettimeofday( &tv, NULL );
if ( (tv.tv_usec - globals->penTv.tv_usec) >= globals->penTimerInterval) { if ( (tv.tv_usec - globals->penTv.tv_usec) >= globals->penTimerInterval) {
linuxFireTimer( globals, TIMER_PENDOWN ); linuxFireTimer( &globals->cGlobals, TIMER_PENDOWN );
callAgain = XP_FALSE; callAgain = XP_FALSE;
} }
@ -1060,7 +1060,7 @@ score_timer_func( gpointer data )
{ {
GtkAppGlobals* globals = (GtkAppGlobals*)data; GtkAppGlobals* globals = (GtkAppGlobals*)data;
linuxFireTimer( globals, TIMER_TIMERTICK ); linuxFireTimer( &globals->cGlobals, TIMER_TIMERTICK );
return XP_FALSE; return XP_FALSE;
} /* score_timer_func */ } /* score_timer_func */
@ -1071,7 +1071,7 @@ heartbeat_timer_func( gpointer data )
GtkAppGlobals* globals = (GtkAppGlobals*)data; GtkAppGlobals* globals = (GtkAppGlobals*)data;
if ( !globals->cGlobals.params->noHeartbeat ) { if ( !globals->cGlobals.params->noHeartbeat ) {
linuxFireTimer( globals, TIMER_HEARTBEAT ); linuxFireTimer( &globals->cGlobals, TIMER_HEARTBEAT );
} }
return (gint)0; return (gint)0;