Navigation Menu

Skip to content

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 7, 2002
1 parent 5f27659 commit 45c55a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/SDL_mouse.c
Expand Up @@ -62,7 +62,7 @@ int SDL_MouseInit(void)
/* We lost the mouse, so post button up messages for all pressed buttons */
void SDL_ResetMouse(void)
{
int i;
Uint8 i;
for ( i = 0; i < sizeof(SDL_ButtonState)*8; ++i ) {
if ( SDL_ButtonState & SDL_BUTTON(i) ) {
SDL_PrivateMouseButton(SDL_RELEASED, i, 0, 0);
Expand Down

0 comments on commit 45c55a9

Please sign in to comment.