[PATCH] msvcp90/tests: Use standard wine_dbgstr_longlong.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Mon Jul 31 20:25:52 CDT 2017
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
dlls/msvcp90/tests/ios.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcp90/tests/ios.c b/dlls/msvcp90/tests/ios.c
index c1d6589..90fa6b1 100644
--- a/dlls/msvcp90/tests/ios.c
+++ b/dlls/msvcp90/tests/ios.c
@@ -1132,8 +1132,8 @@ static void test_num_get_get_uint64(void)
}
ok(tests[i].state == state, "wrong state, expected = %x found = %x\n", tests[i].state, state);
- ok(tests[i].val == val, "wrong val, expected = %lx%08lx found %lx%08lx\n", (unsigned long)(tests[i].val >> 32),
- (unsigned long)tests[i].val, (unsigned long)(val >> 32), (unsigned long)val);
+ ok(tests[i].val == val, "wrong val, expected = %s found %s\n", wine_dbgstr_longlong(tests[i].val),
+ wine_dbgstr_longlong(val));
ok(tests[i].next == next, "wrong next, expected = %c (%i) found = %c (%i)\n", tests[i].next, tests[i].next, next, next);
if(tests[i].lcl)
@@ -1159,8 +1159,8 @@ static void test_num_get_get_uint64(void)
nextus = (unsigned short)(int)call_func1(p_basic_istream_wchar_get, &wss.base.base1);
ok(tests[i].state == state, "wrong state, expected = %x found = %x\n", tests[i].state, state);
- ok(tests[i].val == val, "wrong val, expected = %lx%08lx found %lx%08lx\n", (unsigned long)(tests[i].val >> 32),
- (unsigned long)tests[i].val, (unsigned long)(val >> 32), (unsigned long)val);
+ ok(tests[i].val == val, "wrong val, expected = %s found %s\n", wine_dbgstr_longlong(tests[i].val),
+ wine_dbgstr_longlong(val));
testus = tests[i].next == EOF ? WEOF : (unsigned short)tests[i].next;
ok(testus == nextus, "wrong next, expected = %c (%i) found = %c (%i)\n", testus, testus, nextus, nextus);
--
1.9.1
More information about the wine-patches
mailing list