From e1cd8a31486b6dd891a3e1bfc6df840739c238ee Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 15 Jul 2007 14:14:45 +0000 Subject: [PATCH] An attempt at fixing Bugzilla #454. --- src/video/maccommon/SDL_macevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/maccommon/SDL_macevents.c b/src/video/maccommon/SDL_macevents.c index 499329aa9..e531c6caf 100644 --- a/src/video/maccommon/SDL_macevents.c +++ b/src/video/maccommon/SDL_macevents.c @@ -159,8 +159,8 @@ static int Mac_HandleEvents(_THIS, int wait4it) /* Check the current state of the keyboard */ if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) { KeyMap keys; - const Uint8 *keysptr = (Uint8 *) keys; - const Uint8 *last_keysptr = (Uint8 *) last_keys; + const Uint32 *keysptr = (Uint32 *) &keys; + const Uint32 *last_keysptr = (Uint32 *) &last_keys; /* Check for special non-event keys */ if ( event.modifiers != last_mods ) {