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
55d90458
Commit
55d90458
authored
Jun 13, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version/tests: Don't use sizeof in ok() to avoid printf format warnings.
parent
74452857
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
info.c
dlls/version/tests/info.c
+2
-4
No files found.
dlls/version/tests/info.c
View file @
55d90458
...
...
@@ -350,15 +350,13 @@ static void test_32bit_win(void)
retA
=
VerQueryValueA
(
pVersionInfoA
,
rootA
,
(
LPVOID
*
)
&
pBufA
,
&
uiLengthA
);
ok
(
retA
,
"VerQueryValueA failed: GetLastError = 0x%08lx
\n
"
,
GetLastError
());
ok
(
uiLengthA
==
sizeof
(
VS_FIXEDFILEINFO
),
"Size (%d) doesn't match the size of the VS_FIXEDFILEINFO struct (%d)
\n
"
,
uiLengthA
,
sizeof
(
VS_FIXEDFILEINFO
));
ok
(
uiLengthA
==
sizeof
(
VS_FIXEDFILEINFO
),
"Size (%d) doesn't match the size of the VS_FIXEDFILEINFO struct
\n
"
,
uiLengthA
);
if
(
is_unicode_enabled
)
{
retW
=
VerQueryValueW
(
pVersionInfoW
,
rootW
,
(
LPVOID
*
)
&
pBufW
,
&
uiLengthW
);
ok
(
retW
,
"VerQueryValueW failed: GetLastError = 0x%08lx
\n
"
,
GetLastError
());
ok
(
uiLengthA
==
sizeof
(
VS_FIXEDFILEINFO
),
"Size (%d) doesn't match the size of the VS_FIXEDFILEINFO struct (%d)
\n
"
,
uiLengthA
,
sizeof
(
VS_FIXEDFILEINFO
));
ok
(
uiLengthA
==
sizeof
(
VS_FIXEDFILEINFO
),
"Size (%d) doesn't match the size of the VS_FIXEDFILEINFO struct
\n
"
,
uiLengthA
);
ok
(
uiLengthA
==
uiLengthW
,
"The size of VS_FIXEDFILEINFO should be the same for both A/W calls, it is (%d) vs. (%d)
\n
"
,
uiLengthA
,
uiLengthW
);
...
...
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