[MSRLE32_WINETEST] Sync with Wine Staging 4.0. CORE-15682
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 29 Jan 2019 12:07:39 +0000 (13:07 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 29 Jan 2019 12:07:39 +0000 (13:07 +0100)
modules/rostests/winetests/msrle32/msrle.c

index 14ddddb..4a442a0 100644 (file)
@@ -129,7 +129,7 @@ static void test_raw_decompress(void)
     outbits = HeapAlloc(GetProcessHeap(), 0, bih->biSizeImage);
     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);