Alistair Leslie-Hughes : ucrtbase/tests: Use standard wine_dbgstr_longlong.

Alexandre Julliard julliard at winehq.org
Thu Jul 27 15:26:14 CDT 2017


Module: wine
Branch: master
Commit: 56998d567edef8a354273b7c78cbd71917215694
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=56998d567edef8a354273b7c78cbd71917215694

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Jul 27 04:45:08 2017 +0000

ucrtbase/tests: Use standard wine_dbgstr_longlong.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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)




More information about the wine-cvs mailing list