mirror of https://github.com/encounter/SDL.git
Fixed signed/unsigned warning
This commit is contained in:
parent
550676d08d
commit
33cf925c15
|
@ -832,7 +832,7 @@ SDL_JoystickGUID SDL_JoystickGetGUIDFromString(const char *pchGUID)
|
||||||
int maxoutputbytes= sizeof(guid);
|
int maxoutputbytes= sizeof(guid);
|
||||||
size_t len = SDL_strlen( pchGUID );
|
size_t len = SDL_strlen( pchGUID );
|
||||||
Uint8 *p;
|
Uint8 *p;
|
||||||
int i;
|
size_t i;
|
||||||
|
|
||||||
/* Make sure it's even */
|
/* Make sure it's even */
|
||||||
len = ( len ) & ~0x1;
|
len = ( len ) & ~0x1;
|
||||||
|
|
Loading…
Reference in New Issue