Mercurial > sdl-ios-xcode
changeset 518:300b46757b7a
Fixed compiler warning
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 07 Oct 2002 15:19:34 +0000 |
parents | 621ab54c1dde |
children | c7da0cd5ae5e |
files | src/events/SDL_mouse.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);