diff --git a/lib/zig.h b/lib/zig.h index 0d51b6496f..fb9698325e 100644 --- a/lib/zig.h +++ b/lib/zig.h @@ -2362,7 +2362,8 @@ static inline bool zig_msvc_cmpxchg_u128(zig_u128 volatile* obj, zig_u128* expec return _InterlockedCompareExchange128((zig_i64 volatile*)obj, desired.hi, desired.lo, (zig_i64*)expected); } -static inline bool zig_msvc_cmpxchg_i128(zig_i128 volatile* obj, zig_i128* expected, zig_i128 desired) { return _InterlockedCompareExchange128((zig_i64 volatile*)obj, desired.hi, desired.lo, (zig_u64*)expected); +static inline bool zig_msvc_cmpxchg_i128(zig_i128 volatile* obj, zig_i128* expected, zig_i128 desired) { + return _InterlockedCompareExchange128((zig_i64 volatile*)obj, desired.hi, desired.lo, (zig_u64*)expected); } #define zig_msvc_atomics_128xchg(Type) \ diff --git a/stage1/zig1.wasm b/stage1/zig1.wasm index 88186ff514..4405298016 100644 Binary files a/stage1/zig1.wasm and b/stage1/zig1.wasm differ