https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6bd06f3b766a7108a2ed3…
commit 6bd06f3b766a7108a2ed3dc6d4b6d92ab0e23560
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Oct 1 12:56:32 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Oct 1 12:56:32 2018 +0100
[INETMIB1] Sync with Wine Staging 3.17. CORE-15127
---
dll/win32/inetmib1/main.c | 4 ++--
media/doc/README.WINE | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/win32/inetmib1/main.c b/dll/win32/inetmib1/main.c
index c0719c1d63..2f7b9cadfe 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 841f112a5e..60f29d4dda 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