diff --git a/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c b/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c index eea4dc32f..3d90811bc 100644 --- a/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c +++ b/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c @@ -2213,7 +2213,7 @@ wasmtime_ssp_poll_oneoff(wasm_exec_env_t exec_env, struct fd_table *curfds, // Temporary workaround (see PR#4377) #ifdef BH_PLATFORM_ZEPHYR - int tfd = fos[i]->file_handle->fd; + os_file_handle tfd = fos[i]->file_handle->fd; #else os_file_handle tfd = fos[i]->file_handle; #endif