[PATCH] ucrtbase/tests: Use standard wine_dbgstr_longlong.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Jul 26 23:45:08 CDT 2017


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/ucrtbase/tests/misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ucrtbase/tests/misc.c b/dlls/ucrtbase/tests/misc.c
index 213700f..c70e4b6 100644
--- a/dlls/ucrtbase/tests/misc.c
+++ b/dlls/ucrtbase/tests/misc.c
@@ -468,8 +468,8 @@ static void test_lldiv(void)
     MSVCRT_lldiv_t r;
 
     r = p_lldiv((LONGLONG)0x111 << 32 | 0x222, (LONGLONG)1 << 32);
-    ok(r.quot == 0x111, "quot = %x%08x\n", (INT32)(r.quot >> 32), (UINT32)r.quot);
-    ok(r.rem == 0x222, "rem = %x%08x\n", (INT32)(r.rem >> 32), (UINT32)r.rem);
+    ok(r.quot == 0x111, "quot = %s\n", wine_dbgstr_longlong(r.quot));
+    ok(r.rem == 0x222, "rem = %s\n", wine_dbgstr_longlong(r.rem));
 }
 
 static void test_isblank(void)
-- 
1.9.1




More information about the wine-patches mailing list