projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changes stroke function arguments from "const char*" to "const unsigned char *" ...
[freeglut]
/
src
/
freeglut_joystick.c
diff --git
a/src/freeglut_joystick.c
b/src/freeglut_joystick.c
index
a47d491
..
378e408
100644
(file)
--- a/
src/freeglut_joystick.c
+++ b/
src/freeglut_joystick.c
@@
-501,7
+501,7
@@
void fgJoystickInit( int ident )
/*
* Have the global joystick structure created
*/
- fgJoystick = calloc( sizeof(SFG_Joystick), 1 );
+ fgJoystick = (SFG_Joystick *)calloc( sizeof(SFG_Joystick), 1 );
#ifdef WIN32
switch( ident )