diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
tree | b0a227d6e087c41958cc84d27bc323353248aae5 /plugins/NotifyAnything/src | |
parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) |
DWORD -> uint32_t
Diffstat (limited to 'plugins/NotifyAnything/src')
-rw-r--r-- | plugins/NotifyAnything/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp index bcfee4a9b3..55d2530b61 100644 --- a/plugins/NotifyAnything/src/main.cpp +++ b/plugins/NotifyAnything/src/main.cpp @@ -924,12 +924,12 @@ void __cdecl udptcpThreadFunc(void *useUdp) std::string t = err;
t += "\nWSAGetLastError: ";
- DWORD ec = WSAGetLastError();
+ uint32_t ec = WSAGetLastError();
char buf[4096];
mir_strcpy(buf, Translate("NotifyAnything: Failed to format error message"));
- DWORD fm = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
+ uint32_t fm = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
nullptr, ec, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), buf, 4096, nullptr);
if (!fm) {
|