Commit 52066ee0 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

windowscodecs: Use the ARRAY_SIZE() macro.

parent b7aa42c0
...@@ -709,7 +709,7 @@ static void check_tiff_format(IStream *stream, const WICPixelFormatGUID *format) ...@@ -709,7 +709,7 @@ static void check_tiff_format(IStream *stream, const WICPixelFormatGUID *format)
ok(hr == S_OK, "GetCount error %#x\n", hr); ok(hr == S_OK, "GetCount error %#x\n", hr);
ok(count != 0, "wrong count %u\n", count); ok(count != 0, "wrong count %u\n", count);
for (i = 0; i < sizeof(tag)/sizeof(tag[0]); i++) for (i = 0; i < ARRAY_SIZE(tag); i++)
{ {
PropVariantInit(&id); PropVariantInit(&id);
PropVariantInit(&value); PropVariantInit(&value);
......
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