Commit 3f951cbe authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

include/winnt.h: Fix arguments order for _InterlockedCompareExchange64() MSVC intrinsic.

parent dc65f886
......@@ -6944,7 +6944,7 @@ static FORCEINLINE LONG WINAPI InterlockedCompareExchange( LONG volatile *dest,
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment