Explorar el Código

Fixed signed/unsigned warning

Sam Lantinga hace 12 años
padre
commit
33cf925c15
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/joystick/SDL_joystick.c

+ 1 - 1
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;