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
864c8033
Commit
864c8033
authored
Jun 04, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f0e823f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
prop.c
dlls/mapi32/tests/prop.c
+7
-7
No files found.
dlls/mapi32/tests/prop.c
View file @
864c8033
...
...
@@ -135,7 +135,7 @@ static void test_PropCopyMore(void)
return
;
}
for
(
i
=
0
;
i
<
sizeof
(
ptTypes
)
/
sizeof
(
ptTypes
[
0
]
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
ptTypes
);
i
++
)
{
lpSrc
->
ulPropTag
=
ptTypes
[
i
];
...
...
@@ -453,11 +453,11 @@ static void test_FPropCompareProp(void)
lbuffw
[
1
]
=
'\0'
;
rbuffw
[
1
]
=
'\0'
;
for
(
i
=
0
;
i
<
sizeof
(
ptTypes
)
/
sizeof
(
ptTypes
[
0
]
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
ptTypes
);
i
++
)
{
pvLeft
.
ulPropTag
=
pvRight
.
ulPropTag
=
ptTypes
[
i
];
for
(
j
=
0
;
j
<
sizeof
(
FPCProp_Results
)
/
sizeof
(
FPCProp_Results
[
0
]
);
j
++
)
for
(
j
=
0
;
j
<
ARRAY_SIZE
(
FPCProp_Results
);
j
++
)
{
SHORT
lVal
=
FPCProp_Results
[
j
].
lVal
;
SHORT
rVal
=
FPCProp_Results
[
j
].
rVal
;
...
...
@@ -583,11 +583,11 @@ static void test_LPropCompareProp(void)
lbuffw
[
1
]
=
'\0'
;
rbuffw
[
1
]
=
'\0'
;
for
(
i
=
0
;
i
<
sizeof
(
ptTypes
)
/
sizeof
(
ptTypes
[
0
]
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
ptTypes
);
i
++
)
{
pvLeft
.
ulPropTag
=
pvRight
.
ulPropTag
=
ptTypes
[
i
];
for
(
j
=
0
;
j
<
sizeof
(
LPCProp_Results
)
/
sizeof
(
LPCProp_Results
[
0
]
);
j
++
)
for
(
j
=
0
;
j
<
ARRAY_SIZE
(
LPCProp_Results
);
j
++
)
{
SHORT
lVal
=
LPCProp_Results
[
j
].
lVal
;
SHORT
rVal
=
LPCProp_Results
[
j
].
rVal
;
...
...
@@ -684,7 +684,7 @@ static void test_PpropFindProp(void)
return
;
}
for
(
i
=
0
;
i
<
sizeof
(
ptTypes
)
/
sizeof
(
ptTypes
[
0
]
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
ptTypes
);
i
++
)
{
pvProp
.
ulPropTag
=
ptTypes
[
i
];
...
...
@@ -923,7 +923,7 @@ static void test_LpValFindProp(void)
return
;
}
for
(
i
=
0
;
i
<
sizeof
(
ptTypes
)
/
sizeof
(
ptTypes
[
0
]
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
ptTypes
);
i
++
)
{
pvProp
.
ulPropTag
=
PROP_TAG
(
ptTypes
[
i
],
1u
);
...
...
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