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
74452857
Commit
74452857
authored
Jun 13, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Don't use sizeof in ok() to avoid printf format warnings.
parent
d90f6816
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
misc.c
dlls/urlmon/tests/misc.c
+2
-4
No files found.
dlls/urlmon/tests/misc.c
View file @
74452857
...
...
@@ -870,8 +870,7 @@ static void test_ReleaseBindInfo(void)
bi
.
pUnk
=
&
unk
;
SET_EXPECT
(
unk_Release
);
ReleaseBindInfo
(
&
bi
);
ok
(
bi
.
cbSize
==
sizeof
(
BINDINFO
),
"bi.cbSize=%ld, expected %d
\n
"
,
bi
.
cbSize
,
sizeof
(
bi
));
ok
(
bi
.
cbSize
==
sizeof
(
BINDINFO
),
"bi.cbSize=%ld
\n
"
,
bi
.
cbSize
);
ok
(
bi
.
pUnk
==
NULL
,
"bi.pUnk=%p, expected NULL
\n
"
,
bi
.
pUnk
);
CHECK_CALLED
(
unk_Release
);
...
...
@@ -879,8 +878,7 @@ static void test_ReleaseBindInfo(void)
bi
.
cbSize
=
offsetof
(
BINDINFO
,
pUnk
);
bi
.
pUnk
=
&
unk
;
ReleaseBindInfo
(
&
bi
);
ok
(
bi
.
cbSize
==
offsetof
(
BINDINFO
,
pUnk
),
"bi.cbSize=%ld, expected %d
\n
"
,
bi
.
cbSize
,
sizeof
(
bi
));
ok
(
bi
.
cbSize
==
offsetof
(
BINDINFO
,
pUnk
),
"bi.cbSize=%ld
\n
"
,
bi
.
cbSize
);
ok
(
bi
.
pUnk
==
&
unk
,
"bi.pUnk=%p, expected %p
\n
"
,
bi
.
pUnk
,
&
unk
);
memset
(
&
bi
,
0
,
sizeof
(
bi
));
...
...
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