Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Oct 2002 15:19:34 +0000
changeset 518300b46757b7a
parent 517 621ab54c1dde
child 519 c7da0cd5ae5e
Fixed compiler warning
src/events/SDL_mouse.c
     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);