Clear some warnings and enable -Werror for NuttX (#1756)
This commit is contained in:
@ -4094,8 +4094,9 @@ wasm_interp_call_wasm(WASMModuleInstance *module_inst, WASMExecEnv *exec_env,
|
||||
if (argc < function->param_cell_num) {
|
||||
char buf[128];
|
||||
snprintf(buf, sizeof(buf),
|
||||
"invalid argument count %u, must be no smaller than %u", argc,
|
||||
function->param_cell_num);
|
||||
"invalid argument count %" PRIu32
|
||||
", must be no smaller than %u",
|
||||
argc, function->param_cell_num);
|
||||
wasm_set_exception(module_inst, buf);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user