diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-06-24 05:10:12 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-06-24 05:11:35 +0300 |
commit | 44f50f50058e5de988b5eaeaf0633b210256bd20 (patch) | |
tree | 2cb25b0aa90b46d183775a3fcddbc7b929ad021a /src/Native/Runtime/windows | |
parent | 844e78c96b96b745182a80aa6b600de0059a3204 (diff) |
Fix typo: Comperand -> Comparand
Diffstat (limited to 'src/Native/Runtime/windows')
-rw-r--r-- | src/Native/Runtime/windows/PalRedhawkInline.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Native/Runtime/windows/PalRedhawkInline.h b/src/Native/Runtime/windows/PalRedhawkInline.h index 82ca6fbc9..c09cf9441 100644 --- a/src/Native/Runtime/windows/PalRedhawkInline.h +++ b/src/Native/Runtime/windows/PalRedhawkInline.h @@ -41,24 +41,24 @@ FORCEINLINE Int32 PalInterlockedExchange(_Inout_ _Interlocked_operand_ Int32 vol EXTERN_C long __PN__MACHINECALL_CDECL_OR_DEFAULT _InterlockedCompareExchange(long volatile *, long, long); #pragma intrinsic(_InterlockedCompareExchange) -FORCEINLINE Int32 PalInterlockedCompareExchange(_Inout_ _Interlocked_operand_ Int32 volatile *pDst, Int32 iValue, Int32 iComperand) +FORCEINLINE Int32 PalInterlockedCompareExchange(_Inout_ _Interlocked_operand_ Int32 volatile *pDst, Int32 iValue, Int32 iComparand) { - return _InterlockedCompareExchange((long volatile *)pDst, iValue, iComperand); + return _InterlockedCompareExchange((long volatile *)pDst, iValue, iComparand); } EXTERN_C Int64 _InterlockedCompareExchange64(Int64 volatile *, Int64, Int64); #pragma intrinsic(_InterlockedCompareExchange64) -FORCEINLINE Int64 PalInterlockedCompareExchange64(_Inout_ _Interlocked_operand_ Int64 volatile *pDst, Int64 iValue, Int64 iComperand) +FORCEINLINE Int64 PalInterlockedCompareExchange64(_Inout_ _Interlocked_operand_ Int64 volatile *pDst, Int64 iValue, Int64 iComparand) { - return _InterlockedCompareExchange64(pDst, iValue, iComperand); + return _InterlockedCompareExchange64(pDst, iValue, iComparand); } #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 *pComperand) +FORCEINLINE UInt8 PalInterlockedCompareExchange128(_Inout_ _Interlocked_operand_ Int64 volatile *pDst, Int64 iValueHigh, Int64 iValueLow, Int64 *pComparand) { - return _InterlockedCompareExchange128(pDst, iValueHigh, iValueLow, pComperand); + return _InterlockedCompareExchange128(pDst, iValueHigh, iValueLow, pComparand); } #endif // _AMD64_ @@ -73,9 +73,9 @@ FORCEINLINE void * PalInterlockedExchangePointer(_Inout_ _Interlocked_operand_ v EXTERN_C void * _InterlockedCompareExchangePointer(void * volatile *, void *, void *); #pragma intrinsic(_InterlockedCompareExchangePointer) -FORCEINLINE void * PalInterlockedCompareExchangePointer(_Inout_ _Interlocked_operand_ void * volatile *pDst, _In_ void *pValue, _In_ void *pComperand) +FORCEINLINE void * PalInterlockedCompareExchangePointer(_Inout_ _Interlocked_operand_ void * volatile *pDst, _In_ void *pValue, _In_ void *pComparand) { - return _InterlockedCompareExchangePointer((void * volatile *)pDst, pValue, pComperand); + return _InterlockedCompareExchangePointer((void * volatile *)pDst, pValue, pComparand); } #else // BIT64 @@ -83,8 +83,8 @@ FORCEINLINE void * PalInterlockedCompareExchangePointer(_Inout_ _Interlocked_ope #define PalInterlockedExchangePointer(_pDst, _pValue) \ ((void *)_InterlockedExchange((long volatile *)(_pDst), (long)(size_t)(_pValue))) -#define PalInterlockedCompareExchangePointer(_pDst, _pValue, _pComperand) \ - ((void *)_InterlockedCompareExchange((long volatile *)(_pDst), (long)(size_t)(_pValue), (long)(size_t)(_pComperand))) +#define PalInterlockedCompareExchangePointer(_pDst, _pValue, _pComparand) \ + ((void *)_InterlockedCompareExchange((long volatile *)(_pDst), (long)(size_t)(_pValue), (long)(size_t)(_pComparand))) #endif // BIT64 |