windowscodecs: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b7aa42c008
commit
52066ee092
|
@ -709,7 +709,7 @@ static void check_tiff_format(IStream *stream, const WICPixelFormatGUID *format)
|
|||
ok(hr == S_OK, "GetCount error %#x\n", hr);
|
||||
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(&value);
|
||||
|
|
Loading…
Reference in New Issue