Fixed signed/unsigned comparison warning

main
Sam Lantinga 2023-12-03 14:56:21 -08:00
parent ac0751a652
commit 14380ec48a
1 changed files with 1 additions and 1 deletions

View File

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