Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 13 Jan 2010 16:18:36 +0000
changeset 3667 cc7eca3a4e13
parent 3666 0d58847d1e2a
child 3668 6952d2b783e6
Fixed compiler warning.
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) {