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
30d732ae
Commit
30d732ae
authored
May 30, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schedsvc/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0c8c2bdd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rpcapi.c
dlls/schedsvc/tests/rpcapi.c
+3
-3
No files found.
dlls/schedsvc/tests/rpcapi.c
View file @
30d732ae
...
...
@@ -159,7 +159,7 @@ START_TEST(rpcapi)
hr
=
SchRpcCreateFolder
(
Wine
,
NULL
,
0
);
ok
(
hr
==
S_OK
,
"expected S_OK, got %#x
\n
"
,
hr
);
MultiByteToWideChar
(
CP_ACP
,
0
,
xml1
,
-
1
,
xmlW
,
sizeof
(
xmlW
)
/
sizeof
(
xmlW
[
0
]
));
MultiByteToWideChar
(
CP_ACP
,
0
,
xml1
,
-
1
,
xmlW
,
ARRAY_SIZE
(
xmlW
));
path
=
NULL
;
info
=
NULL
;
...
...
@@ -168,7 +168,7 @@ START_TEST(rpcapi)
ok
(
!
path
,
"expected NULL, path %p
\n
"
,
path
);
ok
(
!
info
,
"expected NULL, info %p
\n
"
,
info
);
for
(
i
=
0
;
i
<
sizeof
(
create_new_task
)
/
sizeof
(
create_new_task
[
0
]
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
create_new_task
);
i
++
)
{
path
=
NULL
;
info
=
NULL
;
...
...
@@ -207,7 +207,7 @@ START_TEST(rpcapi)
ok
(
!
info
,
"expected NULL, info %p
\n
"
,
info
);
MIDL_user_free
(
path
);
for
(
i
=
0
;
i
<
sizeof
(
open_existing_task
)
/
sizeof
(
open_existing_task
[
0
]
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
open_existing_task
);
i
++
)
{
path
=
NULL
;
info
=
NULL
;
...
...
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