From 81c0e0fc6425f36df3d5db74c3c171e21c7142a1 Mon Sep 17 00:00:00 2001 From: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com> Date: Mon, 6 Oct 2025 12:49:14 +0200 Subject: [PATCH] Revert changing os_file_handle to int on Zephyr Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com> --- .../libraries/libc-wasi/sandboxed-system-primitives/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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