Clear some warnings and enable -Werror for NuttX (#1756)

This commit is contained in:
Huang Qi
2022-11-28 09:44:33 +08:00
committed by GitHub
parent 1465901f6f
commit 93d3d09aa1
7 changed files with 20 additions and 13 deletions

View File

@ -102,6 +102,6 @@ void
bh_log_proc_mem(const char *function, uint32 line)
{
char prompt[128] = { 0 };
snprintf(prompt, sizeof(prompt), "[MEM] %s(...) L%u", function, line);
snprintf(prompt, sizeof(prompt), "[MEM] %s(...) L%" PRIu32, function, line);
return bh_print_proc_mem(prompt);
}