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:
Michael Stefaniuc 2019-01-29 20:38:04 +01:00 committed by Alexandre Julliard
parent b7aa42c008
commit 52066ee092
1 changed files with 1 additions and 1 deletions

View File

@ -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);