projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix window title, and ensure that the random integer is not forced to be zero (Thanks...
[freeglut]
/
src
/
freeglut_callbacks.c
diff --git
a/src/freeglut_callbacks.c
b/src/freeglut_callbacks.c
index
ef404f7
..
90baf10
100644
(file)
--- 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