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:
Michael Stefaniuc 2018-05-30 01:15:29 +02:00 committed by Alexandre Julliard
parent 243e8b26ed
commit dbaf52c882
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ static void test_evr_filter_aggregations(void)
};
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);
}