Commit b01eaafa authored by Ryan C. Gordon's avatar Ryan C. Gordon

Fixed compiler warning.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404418
parent 9b5bcdba
...@@ -233,8 +233,8 @@ X11_InitKeyboard(_THIS) ...@@ -233,8 +233,8 @@ X11_InitKeyboard(_THIS)
sym = XKeycodeToKeysym(data->display, i, 0); sym = XKeycodeToKeysym(data->display, i, 0);
if (sym != NoSymbol) { if (sym != NoSymbol) {
SDLKey key; SDLKey key;
printf("code = %d, sym = 0x%X (%s) ", i - min_keycode, sym, printf("code = %d, sym = 0x%X (%s) ", i - min_keycode,
XKeysymToString(sym)); (unsigned int) sym, XKeysymToString(sym));
key = X11_KeyCodeToSDLKey(data->display, i); key = X11_KeyCodeToSDLKey(data->display, i);
for (j = 0; j < SDL_arraysize(keymap); ++j) { for (j = 0; j < SDL_arraysize(keymap); ++j) {
if (keymap[j] == key) { if (keymap[j] == key) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment