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
d46205a3
Commit
d46205a3
authored
Jun 15, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Avoid sizeof in a trace.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
75ec0970
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
shelldispatch.c
dlls/shell32/tests/shelldispatch.c
+1
-2
No files found.
dlls/shell32/tests/shelldispatch.c
View file @
d46205a3
...
@@ -541,8 +541,7 @@ static void test_items(void)
...
@@ -541,8 +541,7 @@ static void test_items(void)
count
=
-
1
;
count
=
-
1
;
r
=
FolderItems_get_Count
(
items
,
&
count
);
r
=
FolderItems_get_Count
(
items
,
&
count
);
ok
(
r
==
S_OK
,
"FolderItems::get_Count failed: %08x
\n
"
,
r
);
ok
(
r
==
S_OK
,
"FolderItems::get_Count failed: %08x
\n
"
,
r
);
ok
(
count
==
sizeof
(
file_defs
)
/
sizeof
(
file_defs
[
0
]),
ok
(
count
==
ARRAY_SIZE
(
file_defs
),
"got %d files
\n
"
,
count
);
"expected %d files, got %d
\n
"
,
(
LONG
)(
sizeof
(
file_defs
)
/
sizeof
(
file_defs
[
0
])),
count
);
V_VT
(
&
var
)
=
VT_EMPTY
;
V_VT
(
&
var
)
=
VT_EMPTY
;
item
=
(
FolderItem
*
)
0xdeadbeef
;
item
=
(
FolderItem
*
)
0xdeadbeef
;
...
...
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