summaryrefslogtreecommitdiff
path: root/plugins/ProxySwitch
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ProxySwitch')
-rw-r--r--plugins/ProxySwitch/src/ip.cpp4
-rw-r--r--plugins/ProxySwitch/src/opt.cpp4
-rw-r--r--plugins/ProxySwitch/src/proxy.cpp2
-rw-r--r--plugins/ProxySwitch/src/stdafx.h2
4 files changed, 6 insertions, 6 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;
diff --git a/plugins/ProxySwitch/src/opt.cpp b/plugins/ProxySwitch/src/opt.cpp
index c02bee1a57..3f9048ce3e 100644
--- a/plugins/ProxySwitch/src/opt.cpp
+++ b/plugins/ProxySwitch/src/opt.cpp
@@ -180,6 +180,6 @@ void SaveSettings(void)
g_plugin.setByte("PopupEnabled", (uint8_t)opt_popups);
g_plugin.setByte("PopupDefaultColors", (uint8_t)opt_defaultColors);
g_plugin.setByte("ShowProxyStatus", (uint8_t)opt_showProxyState);
- g_plugin.setDword("PopupBgColor", (DWORD)opt_bgColor);
- g_plugin.setDword("PopupTxtColor", (DWORD)opt_txtColor);
+ g_plugin.setDword("PopupBgColor", (uint32_t)opt_bgColor);
+ g_plugin.setDword("PopupTxtColor", (uint32_t)opt_txtColor);
}
diff --git a/plugins/ProxySwitch/src/proxy.cpp b/plugins/ProxySwitch/src/proxy.cpp
index 45ac91f303..403b39c3b8 100644
--- a/plugins/ProxySwitch/src/proxy.cpp
+++ b/plugins/ProxySwitch/src/proxy.cpp
@@ -28,7 +28,7 @@ int Enum_Settings(const char *szSetting, LPARAM lParam)
return 0;
}
-int Enum_Modules(const char *szModuleName, DWORD, LPARAM lParam)
+int Enum_Modules(const char *szModuleName, uint32_t, LPARAM lParam)
{
//DBCONTACTENUMSETTINGS e;
MCONTACT hContact = NULL;
diff --git a/plugins/ProxySwitch/src/stdafx.h b/plugins/ProxySwitch/src/stdafx.h
index f9044260f3..ea19ffdd1a 100644
--- a/plugins/ProxySwitch/src/stdafx.h
+++ b/plugins/ProxySwitch/src/stdafx.h
@@ -184,7 +184,7 @@ typedef struct {
typedef struct {
char ProtoName[MAXLABELLENGTH];
- DWORD Status;
+ uint32_t Status;
} PROTO_SETTING, *PPROTO_SETTING;
typedef struct {