Alexandre Julliard : ntdll/tests: Fix a trace format on ARM64.

Alexandre Julliard julliard at winehq.org
Thu Nov 26 16:31:00 CST 2020


Module: wine
Branch: master
Commit: ce5e1c12c37cffd403c6f2b0042a9239d07d6af8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ce5e1c12c37cffd403c6f2b0042a9239d07d6af8

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Nov 26 17:12:08 2020 +0100

ntdll/tests: Fix a trace format on ARM64.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/tests/exception.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index b2331b739ac..3451a7d6465 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -5360,7 +5360,7 @@ static void test_thread_context(void)
     /* Pc is somewhere close to the NtGetContextThread implementation */
     ok( (char *)context.Pc >= (char *)pNtGetContextThread - 0x40000 &&
         (char *)context.Pc <= (char *)pNtGetContextThread + 0x40000,
-        "wrong Pc %08x/%08x\n", context.Pc, (DWORD)pNtGetContextThread );
+        "wrong Pc %p/%p\n", (void *)context.Pc, pNtGetContextThread );
 #undef COMPARE
 }
 




More information about the wine-cvs mailing list