https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e430a46061e5b1d9c938c…
commit e430a46061e5b1d9c938c6de544eafb5591f6c05
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Tue Jan 29 13:07:39 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Tue Jan 29 13:07:39 2019 +0100
[MSRLE32_WINETEST] Sync with Wine Staging 4.0. CORE-15682
---
modules/rostests/winetests/msrle32/msrle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/msrle32/msrle.c
b/modules/rostests/winetests/msrle32/msrle.c
index 14ddddb342..4a442a0b90 100644
--- a/modules/rostests/winetests/msrle32/msrle.c
+++ b/modules/rostests/winetests/msrle32/msrle.c
@@ -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);