From: Amine Khaldi Date: Mon, 1 Oct 2018 11:56:32 +0000 (+0100) Subject: [INETMIB1] Sync with Wine Staging 3.17. CORE-15127 X-Git-Tag: 0.4.12-dev~649 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=6bd06f3b766a7108a2ed3dc6d4b6d92ab0e23560 [INETMIB1] Sync with Wine Staging 3.17. CORE-15127 --- diff --git a/dll/win32/inetmib1/main.c b/dll/win32/inetmib1/main.c index c0719c1d635..2f7b9cadfe6 100644 --- a/dll/win32/inetmib1/main.c +++ b/dll/win32/inetmib1/main.c @@ -1321,7 +1321,7 @@ BOOL WINAPI SnmpExtensionInit(DWORD dwUptimeReference, pFirstSupportedRegion); minSupportedIDLength = UINT_MAX; - for (i = 0; i < sizeof(supportedIDs) / sizeof(supportedIDs[0]); i++) + for (i = 0; i < ARRAY_SIZE(supportedIDs); i++) { if (supportedIDs[i].init) supportedIDs[i].init(); @@ -1337,7 +1337,7 @@ static void cleanup(void) { UINT i; - for (i = 0; i < sizeof(supportedIDs) / sizeof(supportedIDs[0]); i++) + for (i = 0; i < ARRAY_SIZE(supportedIDs); i++) if (supportedIDs[i].cleanup) supportedIDs[i].cleanup(); } diff --git a/media/doc/README.WINE b/media/doc/README.WINE index 841f112a5e7..60f29d4dda4 100644 --- a/media/doc/README.WINE +++ b/media/doc/README.WINE @@ -79,7 +79,7 @@ reactos/dll/win32/imaadp32.acm # Synced to WineStaging-3.17 reactos/dll/win32/imagehlp # Synced to WineStaging-3.3 reactos/dll/win32/imm32 # Synced to WineStaging-3.17 reactos/dll/win32/inetcomm # Synced to WineStaging-3.17 -reactos/dll/win32/inetmib1 # Synced to WineStaging-3.3 +reactos/dll/win32/inetmib1 # Synced to WineStaging-3.17 reactos/dll/win32/initpki # Synced to WineStaging-3.3 reactos/dll/win32/inseng # Synced to WineStaging-3.3 reactos/dll/win32/iphlpapi # Out of sync