diff src/video/windib/SDL_dibevents.c @ 1480:0a2bd6507477

More Win64 updates
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Mar 2006 05:21:32 +0000
parents 4aac8563c296
children 21b1fbb53f4a
line wrap: on
line diff
--- a/src/video/windib/SDL_dibevents.c	Tue Mar 07 04:58:30 2006 +0000
+++ b/src/video/windib/SDL_dibevents.c	Tue Mar 07 05:21:32 2006 +0000
@@ -392,7 +392,7 @@
 		Uint16	wchars[2];
 
 		GetKeyboardState(keystate);
-		if (SDL_ToUnicode(vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1)
+		if (SDL_ToUnicode((UINT)vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1)
 		{
 			keysym->unicode = wchars[0];
 		}