Fixed signed/unsigned comparison warning
parent
ac0751a652
commit
14380ec48a
|
@ -2079,7 +2079,7 @@ char **SDL_GetGamepadMappings(int *count)
|
|||
if (!mappings) {
|
||||
failed = SDL_TRUE;
|
||||
} else {
|
||||
size_t i = 0;
|
||||
int i = 0;
|
||||
for (GamepadMapping_t *mapping = s_pSupportedGamepads; mapping; mapping = mapping->next) {
|
||||
if (SDL_memcmp(&mapping->guid, &s_zeroGUID, sizeof(mapping->guid)) == 0) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue