https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c6a219ff829d38dc5bbec…
commit c6a219ff829d38dc5bbecdf61e8a6f14ce8cba2b
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Feb 4 13:01:59 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Feb 4 13:01:59 2019 +0100
[SNMPAPI_WINETEST] Sync with Wine Staging 4.0. CORE-15682
---
modules/rostests/winetests/snmpapi/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/snmpapi/util.c
b/modules/rostests/winetests/snmpapi/util.c
index 0c517c1738..0eb88165e0 100644
--- a/modules/rostests/winetests/snmpapi/util.c
+++ b/modules/rostests/winetests/snmpapi/util.c
@@ -211,7 +211,7 @@ static void test_SnmpUtilOidCpyFree(void)
{
INT ret;
static UINT ids[] = { 1, 3, 6, 1, 4, 1, 311 };
- static AsnObjectIdentifier dst, src = { sizeof(ids) / sizeof(ids[0]), ids };
+ static AsnObjectIdentifier dst, src = { ARRAY_SIZE(ids), ids };
/* These crashes under win98 */
if(0)