diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-06-24 05:03:38 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-06-24 06:25:48 +0300 |
commit | 51631c5aa18c412688de4a6cd20b66bbbdc8047a (patch) | |
tree | 32383a6f73f9affa250deebb429bab1816d1a88c /src/Native/Runtime/windows | |
parent | 44f50f50058e5de988b5eaeaf0633b210256bd20 (diff) |
Fix Unix implementation of PalInterlockedCompareExchange128
Diffstat (limited to 'src/Native/Runtime/windows')
-rw-r--r-- | src/Native/Runtime/windows/PalRedhawkInline.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/windows/PalRedhawkInline.h b/src/Native/Runtime/windows/PalRedhawkInline.h index c09cf9441..6d48d7bf0 100644 --- a/src/Native/Runtime/windows/PalRedhawkInline.h +++ b/src/Native/Runtime/windows/PalRedhawkInline.h @@ -56,9 +56,9 @@ FORCEINLINE Int64 PalInterlockedCompareExchange64(_Inout_ _Interlocked_operand_ #if defined(_AMD64_) EXTERN_C UInt8 _InterlockedCompareExchange128(Int64 volatile *, Int64, Int64, Int64 *); #pragma intrinsic(_InterlockedCompareExchange128) -FORCEINLINE UInt8 PalInterlockedCompareExchange128(_Inout_ _Interlocked_operand_ Int64 volatile *pDst, Int64 iValueHigh, Int64 iValueLow, Int64 *pComparand) +FORCEINLINE UInt8 PalInterlockedCompareExchange128(_Inout_ _Interlocked_operand_ Int64 volatile *pDst, Int64 iValueHigh, Int64 iValueLow, Int64 *pComparandAndResult) { - return _InterlockedCompareExchange128(pDst, iValueHigh, iValueLow, pComparand); + return _InterlockedCompareExchange128(pDst, iValueHigh, iValueLow, pComparandAndResult); } #endif // _AMD64_ |