https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3425afa6d9dd10f992e75…
commit 3425afa6d9dd10f992e7573d365bf739ba8f5eda
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Tue Jan 29 13:17:10 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Tue Jan 29 13:17:10 2019 +0100
[OLEACC_WINETEST] Sync with Wine Staging 4.0. CORE-15682
---
modules/rostests/winetests/oleacc/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/oleacc/main.c
b/modules/rostests/winetests/oleacc/main.c
index 7a0737caff..c62fa79556 100644
--- a/modules/rostests/winetests/oleacc/main.c
+++ b/modules/rostests/winetests/oleacc/main.c
@@ -410,7 +410,7 @@ static void test_getroletext(void)
memset(buff2W, 0, sizeof(buff2W));
ret = GetRoleTextW(role, NULL, 0);
- GetRoleTextW(role, buff2W, sizeof(buff2W)/sizeof(WCHAR));
+ GetRoleTextW(role, buff2W, ARRAY_SIZE(buff2W));
ok(ret == lstrlenW(buff2W),
"GetRoleTextW: returned length doesn't match returned buffer for role
%d\n", role);
}