Changes stroke function arguments from "const char*" to "const unsigned char *" ...
[freeglut] / src / freeglut_joystick.c
index a47d491..378e408 100644 (file)
@@ -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 )