src/video/windib/SDL_dibevents.c
changeset 1480 0a2bd6507477
parent 1472 4aac8563c296
child 1523 21b1fbb53f4a
     1.1 --- a/src/video/windib/SDL_dibevents.c	Tue Mar 07 04:58:30 2006 +0000
     1.2 +++ b/src/video/windib/SDL_dibevents.c	Tue Mar 07 05:21:32 2006 +0000
     1.3 @@ -392,7 +392,7 @@
     1.4  		Uint16	wchars[2];
     1.5  
     1.6  		GetKeyboardState(keystate);
     1.7 -		if (SDL_ToUnicode(vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1)
     1.8 +		if (SDL_ToUnicode((UINT)vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1)
     1.9  		{
    1.10  			keysym->unicode = wchars[0];
    1.11  		}