X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_callbacks.c;h=90baf105b5ad89ab4eac49e3661c90ef2808c17b;hb=7c8806280d824b872cb97a684172ed3531c5ed11;hp=ef404f746a627f777487b6fc65bf319c27b98004;hpb=fe89df7de1aa6a732a441e983cce03e1fd6fd81a;p=freeglut diff --git a/src/freeglut_callbacks.c b/src/freeglut_callbacks.c index ef404f7..90baf10 100644 --- a/src/freeglut_callbacks.c +++ b/src/freeglut_callbacks.c @@ -106,7 +106,7 @@ void FGAPIENTRY glutTimerFunc( unsigned int timeOut, void (* callback)( int ), i /* * Create a new freeglut timer hook structure */ - timer = calloc( sizeof(SFG_Timer), 1 ); + timer = (SFG_Timer *)calloc( sizeof(SFG_Timer), 1 ); /* * Remember the callback address and timer hook's ID