summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/sources/__wasilibc_real.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc-bottom-half/sources/__wasilibc_real.c')
-rw-r--r--libc-bottom-half/sources/__wasilibc_real.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc-bottom-half/sources/__wasilibc_real.c b/libc-bottom-half/sources/__wasilibc_real.c
index 855a2c6..d2e6b71 100644
--- a/libc-bottom-half/sources/__wasilibc_real.c
+++ b/libc-bottom-half/sources/__wasilibc_real.c
@@ -665,8 +665,7 @@ int32_t __imported_wasi_thread_spawn(int32_t arg0) __attribute__((
__import_name__("thread_spawn")
));
-__wasi_errno_t __wasi_thread_spawn(void* start_arg) {
- int32_t ret = __imported_wasi_thread_spawn((int32_t) start_arg);
- return (uint16_t) ret;
+int32_t __wasi_thread_spawn(void* start_arg) {
+ return __imported_wasi_thread_spawn((int32_t) start_arg);
}
#endif