From: John F. Fay Date: Sun, 30 Sep 2007 12:07:26 +0000 (+0000) Subject: Removing the final compiler warning when building on Win75 -- thank you, Antonio... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=34316b553a4d3d0702630712f73e024919865ee2;p=freeglut Removing the final compiler warning when building on Win75 -- thank you, Antonio Mattos. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@731 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_main.c b/src/freeglut_main.c index 1a66e1f..8aed701 100644 --- a/src/freeglut_main.c +++ b/src/freeglut_main.c @@ -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,