From 34316b553a4d3d0702630712f73e024919865ee2 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Sun, 30 Sep 2007 12:07:26 +0000 Subject: [PATCH] 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 --- src/freeglut_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.7.10.4