Removing the final compiler warning when building on Win75 -- thank you, Antonio...
authorJohn F. Fay <johnffay@nettally.com>
Sun, 30 Sep 2007 12:07:26 +0000 (12:07 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sun, 30 Sep 2007 12:07:26 +0000 (12:07 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@731 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_main.c

index 1a66e1f..8aed701 100644 (file)
@@ -2088,7 +2088,7 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam,
 
             GetKeyboardState( state );
 
-            if( ToAscii( wParam, 0, state, code, 0 ) == 1 )
+            if( ToAscii( (UINT)wParam, 0, state, code, 0 ) == 1 )
                 wParam=code[ 0 ];
 
             INVOKE_WCB( *window, KeyboardUp,