changeset 3667:cc7eca3a4e13

Fixed compiler warning.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 13 Jan 2010 16:18:36 +0000
parents 0d58847d1e2a
children 6952d2b783e6
files src/video/x11/SDL_x11keyboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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) {