https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4d5fa2bac787b04609416…
commit 4d5fa2bac787b046094168887f4a01b7acd27571
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Fri Jan 25 13:21:12 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Fri Jan 25 13:21:12 2019 +0100
[DNSAPI_WINETEST] Sync with Wine Staging 4.0. CORE-15682
---
modules/rostests/winetests/dnsapi/name.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/dnsapi/name.c
b/modules/rostests/winetests/dnsapi/name.c
index 3e543554e7..f4d5b9e691 100644
--- a/modules/rostests/winetests/dnsapi/name.c
+++ b/modules/rostests/winetests/dnsapi/name.c
@@ -146,7 +146,7 @@ static void test_DnsValidateName_A( void )
status = DnsValidateName_A( NULL, DnsNameDomain );
ok( status == ERROR_INVALID_NAME, "succeeded unexpectedly\n" );
- for (i = 0; i < sizeof(test_data) / sizeof(test_data[0]); i++)
+ for (i = 0; i < ARRAY_SIZE(test_data); i++)
{
status = DnsValidateName_A( test_data[i].name, test_data[i].format );
ok( status == test_data[i].status || broken(status ==
test_data[i].status_broken),