From 9e5b41fcdd52956b53d4859fe24215597cc7f15b Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Tue, 27 Jun 2023 09:43:19 -0500 Subject: [PATCH] fixed: windows compilation actually --- runtime/src/ort_os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/ort_os.h b/runtime/src/ort_os.h index 3e73dc8b..5f875e59 100644 --- a/runtime/src/ort_os.h +++ b/runtime/src/ort_os.h @@ -126,7 +126,7 @@ ONYX_DEF(__futex_wait, (WASM_PTR, WASM_I32, WASM_I32), (WASM_I32)) { #endif #ifdef _BH_WINDOWS - results->data[0] = WaitOnAddress(addr, ¶ms->data[1].of.i32, 4, params->data[2].of.i32); + results->data[0] = WASM_I32_VAL(WaitOnAddress(addr, ¶ms->data[1].of.i32, 4, params->data[2].of.i32)); #endif return NULL; -- 2.25.1