Commit 44bd013e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 33e59063
......@@ -138,7 +138,7 @@ static void test_DrawDib_sizeimage(void)
hdd = DrawDibOpen();
ok(hdd != NULL, "DrawDibOpen failed\n");
for (i = 0; i < sizeof(test_data)/sizeof(test_data[0]); i++) {
for (i = 0; i < ARRAY_SIZE(test_data); i++) {
char *hash;
memset(dst_bits, 0xff, dst_dib_size);
init_bmi(&src_info, test_data[i].width, test_data[i].height, test_data[i].size);
......
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