summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/filetransfer.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
commit1039b2829a264280493ba0fa979214fe024dc70c (patch)
tree8fa6a60eb46627582c372b56a4a1d4754d6732c3 /protocols/Gadu-Gadu/src/filetransfer.cpp
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
Diffstat (limited to 'protocols/Gadu-Gadu/src/filetransfer.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/filetransfer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/filetransfer.cpp b/protocols/Gadu-Gadu/src/filetransfer.cpp
index dac2149fb1..e7d512683a 100644
--- a/protocols/Gadu-Gadu/src/filetransfer.cpp
+++ b/protocols/Gadu-Gadu/src/filetransfer.cpp
@@ -72,7 +72,7 @@ void GaduProto::dccconnect(uin_t uin)
// Read user IP and port
DWORD ip = swap32(getDword(hContact, GG_KEY_CLIENTIP, 0));
- WORD port = getWord(hContact, GG_KEY_CLIENTPORT, 0);
+ uint16_t port = getWord(hContact, GG_KEY_CLIENTPORT, 0);
DWORD myuin = getDword(GG_KEY_UIN, 0);
// If not port nor ip nor my uin (?) specified
@@ -916,7 +916,7 @@ HANDLE GaduProto::SendFile(MCONTACT hContact, const wchar_t *, wchar_t** ppszFil
// Read user IP and port
DWORD ip = swap32(getDword(hContact, GG_KEY_CLIENTIP, 0));
- WORD port = getWord(hContact, GG_KEY_CLIENTPORT, 0);
+ uint16_t port = getWord(hContact, GG_KEY_CLIENTPORT, 0);
uin_t myuin = getDword(GG_KEY_UIN, 0);
uin_t uin = getDword(hContact, GG_KEY_UIN, 0);
DWORD ver = getDword(hContact, GG_KEY_CLIENTVERSION, 0);