comparison src/video/x11/SDL_x11events.c @ 1196:b81f54c3963f

Fixed compile warnings with gcc 4
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Dec 2005 14:21:17 +0000
parents abb4267e7028
children c9b51268668f
comparison
equal deleted inserted replaced
1195:bb6791b0a268 1196:b81f54c3963f
611 MISC_keymap[XK_Menu&0xFF] = SDLK_MENU; 611 MISC_keymap[XK_Menu&0xFF] = SDLK_MENU;
612 MISC_keymap[XK_Hyper_R&0xFF] = SDLK_MENU; /* Windows "Menu" key */ 612 MISC_keymap[XK_Hyper_R&0xFF] = SDLK_MENU; /* Windows "Menu" key */
613 } 613 }
614 614
615 #ifdef X_HAVE_UTF8_STRING 615 #ifdef X_HAVE_UTF8_STRING
616 Uint32 Utf8ToUcs4(const char * utf8) 616 Uint32 Utf8ToUcs4(const unsigned char *utf8)
617 { 617 {
618 Uint32 c; 618 Uint32 c;
619 int i = 1; 619 int i = 1;
620 int noOctets = 0; 620 int noOctets = 0;
621 int firstOctetMask = 0; 621 int firstOctetMask = 0;