# HG changeset patch # User Ryan C. Gordon # Date 1263399516 0 # Node ID cc7eca3a4e13220e3b5327cd3fd000ea67447afb # Parent 0d58847d1e2aa733a156fa4fd035106952934ba4 Fixed compiler warning. diff -r 0d58847d1e2a -r cc7eca3a4e13 src/video/x11/SDL_x11keyboard.c --- 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) {