[SNMPAPI_WINETEST] Sync with Wine Staging 4.0. CORE-15682
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 4 Feb 2019 12:01:59 +0000 (13:01 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 4 Feb 2019 12:01:59 +0000 (13:01 +0100)
modules/rostests/winetests/snmpapi/util.c

index 0c517c1..0eb8816 100644 (file)
@@ -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)