Dmitry Timoshkov : include/winnt.h: Fix arguments order for _InterlockedCompareExchange64() MSVC intrinsic.
Alexandre Julliard
julliard at winehq.org
Fri Feb 26 14:39:29 CST 2021
Module: wine
Branch: master
Commit: 3f951cbe727fa62cb71df1e9712488c5ed12bcee
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3f951cbe727fa62cb71df1e9712488c5ed12bcee
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Fri Feb 26 15:53:55 2021 +0100
include/winnt.h: Fix arguments order for _InterlockedCompareExchange64() MSVC intrinsic.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/winnt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/winnt.h b/include/winnt.h
index 48f1715c3b6..3a9d13b055c 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -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
More information about the wine-cvs
mailing list