msrle32/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-06-05 20:09:46 +02:00 committed by Alexandre Julliard
parent 7ed8ad7675
commit 5e37ea1a4a
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ static void test_raw_decompress(void)
outbits = HeapAlloc(GetProcessHeap(), 0, bih->biSizeImage);
ok(outbits != NULL, "Expected non-NULL value\n");
for (i = 0; i < sizeof(codecs) / sizeof(codecs[0]); i++)
for (i = 0; i < ARRAY_SIZE(codecs); i++)
{
memset(bits, i + 0xAF, bih->biSizeImage);