Commit 5e37ea1a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msrle32/tests: Use the available ARRAY_SIZE() macro.

parent 7ed8ad76
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment