mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-12-16 13:03:18 +00:00
Remove warnings relevant to Zephyr platform
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
This commit is contained in:
parent
89b4043213
commit
fe129f97b9
|
|
@ -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
|
||||
os_file_handle tfd = fos[i]->file_handle->fd;
|
||||
int tfd = fos[i]->file_handle->fd;
|
||||
#else
|
||||
os_file_handle tfd = fos[i]->file_handle;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include "platform_api_vmcore.h"
|
||||
#include "platform_api_extension.h"
|
||||
#include "libc_errno.h"
|
||||
#include "bh_common.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -1195,4 +1196,4 @@ bool
|
|||
os_is_stderr_handle(os_file_handle handle)
|
||||
{
|
||||
return (handle == (os_file_handle)stderr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user