https://git.reactos.org/?p=reactos.git;a=commitdiff;h=727f534b9f53134e73e96…
commit 727f534b9f53134e73e96288130349d36e46b67a
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Feb 4 13:09:27 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Feb 4 13:09:27 2019 +0100
[VERSION_WINETEST] Sync with Wine Staging 4.0. CORE-15682
---
modules/rostests/winetests/version/info.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/winetests/version/info.c
b/modules/rostests/winetests/version/info.c
index 6f16999b08..7cfc1eb32a 100644
--- a/modules/rostests/winetests/version/info.c
+++ b/modules/rostests/winetests/version/info.c
@@ -548,7 +548,7 @@ static void test_VerQueryValueA(void)
ok(len == 0, "VerQueryValue returned %u, expected 0\n", len);
ok(p != (char *)0xdeadbeef, "not expected 0xdeadbeef\n");
- for (i = 0; i < sizeof(value_name)/sizeof(value_name[0]); i++)
+ for (i = 0; i < ARRAY_SIZE(value_name); i++)
{
sprintf(buf, "\\StringFileInfo\\%08x\\%s", translation, value_name[i]);
p = (char *)0xdeadbeef;
@@ -815,7 +815,7 @@ static void test_GetFileVersionInfoEx(void)
return;
}
- for (i = 0; i < sizeof(test_flags)/sizeof(test_flags[0]); i++)
+ for (i = 0; i < ARRAY_SIZE(test_flags); i++)
{
size = pGetFileVersionInfoSizeExW(test_flags[i], kernel32W, NULL);
ok(size, "[%u] GetFileVersionInfoSizeEx(kernel32) error %u\n", i,
GetLastError());