Skip to content

Commit

Permalink
Merge branch 'dev/checkpoint_and_restore' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
victoryang00 authored Apr 25, 2024
2 parents a4b20a0 + ef3babc commit f047f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -2595,7 +2595,7 @@ wasi_sock_recv(wasm_exec_env_t exec_env, wasi_fd_t sock, iovec_app_t *ri_data,
ro_flags);
set_tcp();
#endif
if (!validate_native_addr(ro_flags, (uint32)sizeof(wasi_roflags_t)))
if (!validate_native_addr(ro_flags, (uint64)sizeof(wasi_roflags_t)))
return __WASI_EINVAL;

error = wasi_sock_recv_from(exec_env, sock, ri_data, ri_data_len, ri_flags,
Expand Down

0 comments on commit f047f8f

Please sign in to comment.