src/events/SDL_mouse.c
changeset 518 300b46757b7a
parent 460 a888b3ae31ff
child 769 b8d311d90021
     1.1 --- a/src/events/SDL_mouse.c	Mon Oct 07 15:19:17 2002 +0000
     1.2 +++ b/src/events/SDL_mouse.c	Mon Oct 07 15:19:34 2002 +0000
     1.3 @@ -62,7 +62,7 @@
     1.4  /* We lost the mouse, so post button up messages for all pressed buttons */
     1.5  void SDL_ResetMouse(void)
     1.6  {
     1.7 -	int i;
     1.8 +	Uint8 i;
     1.9  	for ( i = 0; i < sizeof(SDL_ButtonState)*8; ++i ) {
    1.10  		if ( SDL_ButtonState & SDL_BUTTON(i) ) {
    1.11  			SDL_PrivateMouseButton(SDL_RELEASED, i, 0, 0);