Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 13 Jan 2010 16:18:36 +0000
changeset 3667cc7eca3a4e13
parent 3666 0d58847d1e2a
child 3668 6952d2b783e6
Fixed compiler warning.
src/video/x11/SDL_x11keyboard.c
     1.1 --- a/src/video/x11/SDL_x11keyboard.c	Wed Jan 13 16:10:25 2010 +0000
     1.2 +++ b/src/video/x11/SDL_x11keyboard.c	Wed Jan 13 16:18:36 2010 +0000
     1.3 @@ -233,8 +233,8 @@
     1.4              sym = XKeycodeToKeysym(data->display, i, 0);
     1.5              if (sym != NoSymbol) {
     1.6                  SDLKey key;
     1.7 -                printf("code = %d, sym = 0x%X (%s) ", i - min_keycode, sym,
     1.8 -                       XKeysymToString(sym));
     1.9 +                printf("code = %d, sym = 0x%X (%s) ", i - min_keycode,
    1.10 +                       (unsigned int) sym, XKeysymToString(sym));
    1.11                  key = X11_KeyCodeToSDLKey(data->display, i);
    1.12                  for (j = 0; j < SDL_arraysize(keymap); ++j) {
    1.13                      if (keymap[j] == key) {