diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index 3906ec2b9..f635d4a3e 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -832,7 +832,7 @@ SDL_JoystickGUID SDL_JoystickGetGUIDFromString(const char *pchGUID) int maxoutputbytes= sizeof(guid); size_t len = SDL_strlen( pchGUID ); Uint8 *p; - int i; + size_t i; /* Make sure it's even */ len = ( len ) & ~0x1;