Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
321ec274
Commit
321ec274
authored
Jun 17, 2022
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix the print format, LARGE_INTEGER is signed.
Signed-off-by:
Francois Gouget
<
fgouget@codeweavers.com
>
parent
16d785d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
registry.c
dlls/advapi32/tests/registry.c
+4
-4
No files found.
dlls/advapi32/tests/registry.c
View file @
321ec274
...
...
@@ -3676,18 +3676,18 @@ static void test_performance_keys(void)
ok
(
data
->
PerfTime
.
QuadPart
>=
perftime1
.
QuadPart
&&
data
->
PerfTime
.
QuadPart
<=
perftime2
.
QuadPart
,
"got times %I64
u, %I64u, %I64u
\n
"
,
"got times %I64
d, %I64d, %I64d
\n
"
,
perftime1
.
QuadPart
,
data
->
PerfTime
.
QuadPart
,
perftime2
.
QuadPart
);
ok
(
data
->
PerfFreq
.
QuadPart
==
freq
.
QuadPart
,
"expected frequency %I64
u, got %I64u
\n
"
,
ok
(
data
->
PerfFreq
.
QuadPart
==
freq
.
QuadPart
,
"expected frequency %I64
d, got %I64d
\n
"
,
freq
.
QuadPart
,
data
->
PerfFreq
.
QuadPart
);
ok
(
data
->
PerfTime100nSec
.
QuadPart
>=
systime1
.
QuadPart
&&
data
->
PerfTime100nSec
.
QuadPart
<=
systime2
.
QuadPart
,
"got times %I64
u, %I64u, %I64u
\n
"
,
"got times %I64
d, %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 %I64
u, %I64u, %I64u
\n
"
,
systime1
.
QuadPart
,
file_time
.
l
,
systime2
.
QuadPart
);
"got times %I64
d, %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
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment