mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 20:55:40 +00:00
advapi32/tests: Fix the print format, LARGE_INTEGER is signed.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
This commit is contained in:
parent
16d785d416
commit
321ec274d7
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue