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:
Dmitry Timoshkov 2021-02-26 15:53:55 +01:00 committed by Alexandre Julliard
parent dc65f88654
commit 3f951cbe72
1 changed files with 1 additions and 1 deletions

View File

@ -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