From: Brendan Hansen Date: Tue, 27 Jun 2023 14:43:19 +0000 (-0500) Subject: fixed: windows compilation actually X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=9e5b41fcdd52956b53d4859fe24215597cc7f15b;p=onyx.git fixed: windows compilation actually --- 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;