An attempt at fixing Bugzilla #454. SDL-1.2
authorRyan C. Gordon
Sun, 15 Jul 2007 14:14:45 +0000
branchSDL-1.2
changeset 4069f19931785c42
parent 4068 86746036a6d6
child 4070 b8f2db95145e
An attempt at fixing Bugzilla #454.
src/video/maccommon/SDL_macevents.c
     1.1 --- a/src/video/maccommon/SDL_macevents.c	Sun Jul 15 14:05:31 2007 +0000
     1.2 +++ b/src/video/maccommon/SDL_macevents.c	Sun Jul 15 14:14:45 2007 +0000
     1.3 @@ -159,8 +159,8 @@
     1.4  	/* Check the current state of the keyboard */
     1.5  	if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) {
     1.6  		KeyMap keys;
     1.7 -		const Uint8 *keysptr = (Uint8 *) keys;
     1.8 -		const Uint8 *last_keysptr = (Uint8 *) last_keys;
     1.9 +		const Uint32 *keysptr = (Uint32 *) &keys;
    1.10 +		const Uint32 *last_keysptr = (Uint32 *) &last_keys;
    1.11  
    1.12  		/* Check for special non-event keys */
    1.13  		if ( event.modifiers != last_mods ) {