Get rid of warnings

This commit is contained in:
twinaphex 2016-06-12 13:50:29 +02:00
parent ae894fb015
commit 6283cb5eef

View File

@ -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),