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:
parent
7ed8ad7675
commit
5e37ea1a4a
|
@ -129,7 +129,7 @@ static void test_raw_decompress(void)
|
||||||
outbits = HeapAlloc(GetProcessHeap(), 0, bih->biSizeImage);
|
outbits = HeapAlloc(GetProcessHeap(), 0, bih->biSizeImage);
|
||||||
ok(outbits != NULL, "Expected non-NULL value\n");
|
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);
|
memset(bits, i + 0xAF, bih->biSizeImage);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue