From c6a219ff829d38dc5bbecdf61e8a6f14ce8cba2b Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 4 Feb 2019 13:01:59 +0100 Subject: [PATCH] [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 0c517c1738f..0eb88165e03 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)