Alexandre Julliard : kernel32/tests: Fix floating-point status register size on ARM64.
Alexandre Julliard
julliard at winehq.org
Thu Nov 26 16:31:00 CST 2020
Module: wine
Branch: master
Commit: c36f580cc49c2acb2f86b6d321d3aa88342ae68d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c36f580cc49c2acb2f86b6d321d3aa88342ae68d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Nov 26 23:16:41 2020 +0100
kernel32/tests: Fix floating-point status register size on ARM64.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c
index a6c923dc063..b69f69fadaa 100644
--- a/dlls/kernel32/tests/thread.c
+++ b/dlls/kernel32/tests/thread.c
@@ -1840,7 +1840,7 @@ static inline unsigned long get_fpu_cw(void)
#endif
return MAKELONG( cw, sse );
#elif defined(__aarch64__)
- unsigned long cw;
+ ULONG_PTR cw;
__asm__ __volatile__( "mrs %0, fpcr" : "=r" (cw) );
return cw;
#else
More information about the wine-cvs
mailing list