mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 16:36:25 +00:00
Fixed signed/unsigned comparison warning
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user