Francois Gouget : advapi32/tests: Fix the print format, LARGE_INTEGER is signed.
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 15:47:02 CDT 2022
Module: wine
Branch: master
Commit: 321ec274d7a2bd8b7921b45aeba3233d28ae6453
URL: https://gitlab.winehq.org/wine/wine/-/commit/321ec274d7a2bd8b7921b45aeba3233d28ae6453
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Fri Jun 17 23:13:01 2022 +0200
advapi32/tests: Fix the print format, LARGE_INTEGER is signed.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
dlls/advapi32/tests/registry.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index 51e391fb134..df56b0968ee 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -3676,18 +3676,18 @@ static void test_performance_keys(void)
ok(data->PerfTime.QuadPart >= perftime1.QuadPart
&& data->PerfTime.QuadPart <= perftime2.QuadPart,
- "got times %I64u, %I64u, %I64u\n",
+ "got times %I64d, %I64d, %I64d\n",
perftime1.QuadPart, data->PerfTime.QuadPart, perftime2.QuadPart);
- ok(data->PerfFreq.QuadPart == freq.QuadPart, "expected frequency %I64u, got %I64u\n",
+ ok(data->PerfFreq.QuadPart == freq.QuadPart, "expected frequency %I64d, got %I64d\n",
freq.QuadPart, data->PerfFreq.QuadPart);
ok(data->PerfTime100nSec.QuadPart >= systime1.QuadPart
&& data->PerfTime100nSec.QuadPart <= systime2.QuadPart,
- "got times %I64u, %I64u, %I64u\n",
+ "got times %I64d, %I64d, %I64d\n",
systime1.QuadPart, data->PerfTime100nSec.QuadPart, systime2.QuadPart);
SystemTimeToFileTime(&data->SystemTime, &file_time.f);
/* SYSTEMTIME has a granularity of 1 ms */
ok(file_time.l >= systime1.QuadPart - 10000 && file_time.l <= systime2.QuadPart,
- "got times %I64u, %I64u, %I64u\n", systime1.QuadPart, file_time.l, systime2.QuadPart);
+ "got times %I64d, %I64d, %I64d\n", systime1.QuadPart, file_time.l, systime2.QuadPart);
ok(data->SystemNameLength == (sysname_len + 1) * sizeof(WCHAR),
"expected name len %Iu, got %lu\n",
More information about the wine-cvs
mailing list