Fixed signed/unsigned warning

This commit is contained in:
Sam Lantinga 2013-11-09 01:08:21 -08:00
parent 550676d08d
commit 33cf925c15
1 changed files with 1 additions and 1 deletions

View File

@ -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;