mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
Get rid of warnings
This commit is contained in:
parent
ae894fb015
commit
6283cb5eef
@ -808,18 +808,18 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
|
|||||||
#elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
#elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
||||||
snprintf(tmp, sizeof(tmp),
|
snprintf(tmp, sizeof(tmp),
|
||||||
"Memory (in bytes) : %llu/%llu B",
|
"Memory (in bytes) : %llu/%llu B",
|
||||||
memory_free,
|
(unsigned long long)memory_free,
|
||||||
memory_total
|
(unsigned long long)memory_total
|
||||||
);
|
);
|
||||||
snprintf(tmp2, sizeof(tmp2),
|
snprintf(tmp2, sizeof(tmp2),
|
||||||
"Memory (in megabytes) : %llu/%llu MB",
|
"Memory (in megabytes) : %llu/%llu MB",
|
||||||
bytes_to_mb(memory_free),
|
(unsigned long long)bytes_to_mb(memory_free),
|
||||||
bytes_to_mb(memory_total)
|
(unsigned long long)bytes_to_mb(memory_total)
|
||||||
);
|
);
|
||||||
snprintf(tmp3, sizeof(tmp3),
|
snprintf(tmp3, sizeof(tmp3),
|
||||||
"Memory (in gigabytes): %llu/%llu GB",
|
"Memory (in gigabytes): %llu/%llu GB",
|
||||||
bytes_to_gb(memory_free),
|
(unsigned long long)bytes_to_gb(memory_free),
|
||||||
bytes_to_gb(memory_total)
|
(unsigned long long)bytes_to_gb(memory_total)
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
snprintf(tmp, sizeof(tmp),
|
snprintf(tmp, sizeof(tmp),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user