diff -r b61791cd595a -r 78f18a929123 src/events/SDL_mouse.c --- a/src/events/SDL_mouse.c Sat Nov 10 10:37:38 2012 -0800 +++ b/src/events/SDL_mouse.c Mon Nov 12 12:14:44 2012 -0800 @@ -118,7 +118,7 @@ /* Check to see if we need to synthesize focus events */ static SDL_bool -SDL_UpdateMouseFocus(SDL_Window * window, int x, int y, Uint8 buttonstate) +SDL_UpdateMouseFocus(SDL_Window * window, int x, int y, Uint32 buttonstate) { SDL_Mouse *mouse = SDL_GetMouse(); int w, h; @@ -264,7 +264,7 @@ SDL_Mouse *mouse = SDL_GetMouse(); int posted; Uint32 type; - Uint8 buttonstate = mouse->buttonstate; + Uint32 buttonstate = mouse->buttonstate; /* Figure out which event to perform */ switch (state) { @@ -345,7 +345,7 @@ { } -Uint8 +Uint32 SDL_GetMouseState(int *x, int *y) { SDL_Mouse *mouse = SDL_GetMouse(); @@ -359,7 +359,7 @@ return mouse->buttonstate; } -Uint8 +Uint32 SDL_GetRelativeMouseState(int *x, int *y) { SDL_Mouse *mouse = SDL_GetMouse();