Fix Windows compilation warnings (#1171)

And update the Zephyr platform sample help, add arc target into usage list.
This commit is contained in:
Wenyong Huang
2022-05-16 09:12:58 +08:00
committed by GitHub
parent 0993601d55
commit d7a2888b18
4 changed files with 4 additions and 3 deletions

View File

@ -1273,7 +1273,7 @@ wasm_runtime_prepare_call_function(WASMExecEnv *exec_env,
}
if (!need_param_transform) {
bh_memcpy_s(new_argv, size, argv, size);
bh_memcpy_s(new_argv, (uint32)size, argv, (uint32)size);
}
else {
for (param_i = 0; param_i < func_type->param_count && argv_i < argc