include/winnt.h: Fix arguments order for _InterlockedCompareExchange64() MSVC intrinsic.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dc65f88654
commit
3f951cbe72
|
@ -6944,7 +6944,7 @@ static FORCEINLINE LONG WINAPI InterlockedCompareExchange( LONG volatile *dest,
|
||||||
|
|
||||||
static FORCEINLINE LONGLONG WINAPI InterlockedCompareExchange64( LONGLONG volatile *dest, LONGLONG xchg, LONGLONG compare )
|
static FORCEINLINE LONGLONG WINAPI InterlockedCompareExchange64( LONGLONG volatile *dest, LONGLONG xchg, LONGLONG compare )
|
||||||
{
|
{
|
||||||
return _InterlockedCompareExchange64( (long long volatile *)dest, compare, xchg );
|
return _InterlockedCompareExchange64( (long long volatile *)dest, xchg, compare );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
|
|
Loading…
Reference in New Issue