Mercurial > sdl-ios-xcode
diff src/events/SDL_keyboard.c @ 1760:a9be6a3a51d1
Patch from Dmitry Yakimov to fix building on WinCE
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 03 May 2006 04:11:38 +0000 |
parents | 97d0966f4bf7 |
children | 782fd950bd46 c121d94672cb b1fd24d62e55 |
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c Tue May 02 15:18:07 2006 +0000 +++ b/src/events/SDL_keyboard.c Wed May 03 04:11:38 2006 +0000 @@ -59,7 +59,7 @@ /* Initialize the tables */ SDL_ModState = KMOD_NONE; - SDL_memset(keynames, 0, sizeof(keynames)); + SDL_memset((void*)keynames, 0, sizeof(keynames)); SDL_memset(SDL_KeyState, 0, sizeof(SDL_KeyState)); video->InitOSKeymap(this);