fixed: windows compilation actually
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 27 Jun 2023 14:43:19 +0000 (09:43 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 27 Jun 2023 14:43:19 +0000 (09:43 -0500)
runtime/src/ort_os.h

index 3e73dc8b0a888205afc3adedea57737c6843a425..5f875e593b5dd1a57c0587a19dd7deeb611e3e4e 100644 (file)
@@ -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, &params->data[1].of.i32, 4, params->data[2].of.i32);
+    results->data[0] = WASM_I32_VAL(WaitOnAddress(addr, &params->data[1].of.i32, 4, params->data[2].of.i32));
     #endif
 
     return NULL;