Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-06-24 05:03:38 +0300
committerJan Kotas <jkotas@microsoft.com>2016-06-24 06:25:48 +0300
commit51631c5aa18c412688de4a6cd20b66bbbdc8047a (patch)
tree32383a6f73f9affa250deebb429bab1816d1a88c /src/Native/Runtime/windows
parent44f50f50058e5de988b5eaeaf0633b210256bd20 (diff)
Fix Unix implementation of PalInterlockedCompareExchange128
Diffstat (limited to 'src/Native/Runtime/windows')
-rw-r--r--src/Native/Runtime/windows/PalRedhawkInline.h4
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_