evr/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
243e8b26ed
commit
dbaf52c882
@ -163,7 +163,7 @@ static void test_evr_filter_aggregations(void)
|
|||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++)
|
for (i = 0; i < ARRAY_SIZE(iids); i++)
|
||||||
{
|
{
|
||||||
test_aggregation(CLSID_EnhancedVideoRenderer, *iids[i], "filter", i);
|
test_aggregation(CLSID_EnhancedVideoRenderer, *iids[i], "filter", i);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user