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) {
|
if (!mappings) {
|
||||||
failed = SDL_TRUE;
|
failed = SDL_TRUE;
|
||||||
} else {
|
} else {
|
||||||
size_t i = 0;
|
int i = 0;
|
||||||
for (GamepadMapping_t *mapping = s_pSupportedGamepads; mapping; mapping = mapping->next) {
|
for (GamepadMapping_t *mapping = s_pSupportedGamepads; mapping; mapping = mapping->next) {
|
||||||
if (SDL_memcmp(&mapping->guid, &s_zeroGUID, sizeof(mapping->guid)) == 0) {
|
if (SDL_memcmp(&mapping->guid, &s_zeroGUID, sizeof(mapping->guid)) == 0) {
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user