# HG changeset patch # User Sam Lantinga # Date 1034003974 0 # Node ID 300b46757b7a59368ee5d1c8a1cb2e9d7ed11c6d # Parent 621ab54c1dde8e3fbf92ee682d3bc34496041983 Fixed compiler warning diff -r 621ab54c1dde -r 300b46757b7a src/events/SDL_mouse.c --- a/src/events/SDL_mouse.c Mon Oct 07 15:19:17 2002 +0000 +++ b/src/events/SDL_mouse.c Mon Oct 07 15:19:34 2002 +0000 @@ -62,7 +62,7 @@ /* 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);