From 33cf925c1587dae0a88787bdbc531cac01d921f6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 9 Nov 2013 01:08:21 -0800 Subject: [PATCH] Fixed signed/unsigned warning --- src/joystick/SDL_joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;