Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11keyboard.c @ 3667:cc7eca3a4e13
Fixed compiler warning.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 13 Jan 2010 16:18:36 +0000 |
parents | dc1eb82ffdaa |
children | f7b03b6838cb |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11keyboard.c Wed Jan 13 16:10:25 2010 +0000 +++ b/src/video/x11/SDL_x11keyboard.c Wed Jan 13 16:18:36 2010 +0000 @@ -233,8 +233,8 @@ sym = XKeycodeToKeysym(data->display, i, 0); if (sym != NoSymbol) { SDLKey key; - printf("code = %d, sym = 0x%X (%s) ", i - min_keycode, sym, - XKeysymToString(sym)); + printf("code = %d, sym = 0x%X (%s) ", i - min_keycode, + (unsigned int) sym, XKeysymToString(sym)); key = X11_KeyCodeToSDLKey(data->display, i); for (j = 0; j < SDL_arraysize(keymap); ++j) { if (keymap[j] == key) {