summaryrefslogtreecommitdiff
path: root/plugins/ProxySwitch/src/ip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ProxySwitch/src/ip.cpp')
-rw-r--r--plugins/ProxySwitch/src/ip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ProxySwitch/src/ip.cpp b/plugins/ProxySwitch/src/ip.cpp
index 1962ca7382..5b5966d664 100644
--- a/plugins/ProxySwitch/src/ip.cpp
+++ b/plugins/ProxySwitch/src/ip.cpp
@@ -16,7 +16,7 @@ void IP_WatchDog(void*)
while (true) {
HANDLE hResult;
- DWORD ret = NotifyAddrChange(&hResult, &overlap);
+ uint32_t ret = NotifyAddrChange(&hResult, &overlap);
if (ret != NO_ERROR && WSAGetLastError() != WSA_IO_PENDING) {
Netlib_Logf(0, "NotifyAddrChange Error: %d/nRestart Miranda NG to restore IP monitor.", WSAGetLastError());
break;
@@ -143,7 +143,7 @@ int Create_NIF_List(NETWORK_INTERFACE_LIST *list)
PIP_ADAPTER_ADDRESSES pAddresses, pAddr;
ULONG outBufLen;
wchar_t *tmp_opt, *intf, *rest, *name;
- DWORD out;
+ uint32_t out;
// prepare and load IP_ADAPTER_ADDRESSES
outBufLen = 0;