mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
14905e33e1
The "z" modifier was introduced in c99, but using "l" instead seems to work. setting_list.c: In function ‘setting_get_string_representation_size’: setting_list.c:175:24: warning: ISO C90 does not support the ‘z’ gnu_printf length modifier [-Wformat=] snprintf(s, len, "%" PRI_SIZET, ^~~ setting_list.c: In function ‘setting_get_string_representation_size_in_mb’: setting_list.c:183:24: warning: ISO C90 does not support the ‘z’ gnu_printf length modifier [-Wformat=] snprintf(s, len, "%" PRI_SIZET, ^~~ setting_list.c: In function ‘setting_set_with_string_representation’: setting_list.c:508:24: warning: ISO C90 does not support the ‘z’ gnu_scanf length modifier [-Wformat=] sscanf(value, "%" PRI_SIZET, setting->value.target.sizet); ^~~ libretro-common/file/config_file.c: In function ‘config_get_size_t’: libretro-common/file/config_file.c:692:32: warning: ISO C90 does not support the ‘z’ gnu_scanf length modifier [-Wformat=] if (sscanf(entry->value, "%" PRI_SIZET, &val) == 1