Kill some warnings

This commit is contained in:
Alcaro 2016-06-19 22:43:49 +02:00
parent 43c25383e3
commit 77d0745f38
2 changed files with 3 additions and 3 deletions

View File

@ -197,7 +197,7 @@ static bool command_read_ram(const char *arg)
cheevos_var_t var;
const uint8_t * data;
unsigned nbytes;
int i;
unsigned i;
char reply[256];
char *reply_at = NULL;

View File

@ -851,12 +851,12 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
memory_total
);
snprintf(tmp2, sizeof(tmp2),
"Memory (in megabytes) : %1u/%1u MB",
"Memory (in megabytes) : %lu/%lu MB",
bytes_to_mb(memory_used),
bytes_to_mb(memory_total)
);
snprintf(tmp3, sizeof(tmp3),
"Memory (in gigabytes) : %1u/%1u GB",
"Memory (in gigabytes) : %lu/%lu GB",
bytes_to_gb(memory_used),
bytes_to_gb(memory_total)
);