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

@ -952,13 +952,13 @@ print_wrapper(wasm_exec_env_t exec_env)
static void
print_i32_wrapper(wasm_exec_env_t exec_env, int32 i32)
{
os_printf("in specttest.print_i32(%d)\n", i32);
os_printf("in specttest.print_i32(%" PRId32 ")\n", i32);
}
static void
print_i32_f32_wrapper(wasm_exec_env_t exec_env, int32 i32, float f32)
{
os_printf("in specttest.print_i32_f32(%d, %f)\n", i32, f32);
os_printf("in specttest.print_i32_f32(%" PRId32 ", %f)\n", i32, f32);
}
static void