diff options
Diffstat (limited to 'plugins/FavContacts/src')
-rw-r--r-- | plugins/FavContacts/src/cserver.cpp | 2 | ||||
-rw-r--r-- | plugins/FavContacts/src/stdafx.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FavContacts/src/cserver.cpp b/plugins/FavContacts/src/cserver.cpp index 42f35cd687..b2577c8ecf 100644 --- a/plugins/FavContacts/src/cserver.cpp +++ b/plugins/FavContacts/src/cserver.cpp @@ -11,7 +11,7 @@ void CServer::Start(int port, IConnectionProcessorFactory *connectionProcessorFa sockaddr_in addr = { 0 };
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
- addr.sin_port = htons((WORD)port);
+ addr.sin_port = htons((uint16_t)port);
if (bind(m_socket, (sockaddr *)&addr, sizeof(addr)) == SOCKET_ERROR) {
closesocket(m_socket);
m_socket = INVALID_SOCKET;
diff --git a/plugins/FavContacts/src/stdafx.h b/plugins/FavContacts/src/stdafx.h index ad34fea12b..afe031f56b 100644 --- a/plugins/FavContacts/src/stdafx.h +++ b/plugins/FavContacts/src/stdafx.h @@ -73,7 +73,7 @@ struct Options uint8_t bSecondLine;
uint8_t bAvatars;
uint8_t bAvatarBorder;
- WORD wAvatarRadius;
+ uint16_t wAvatarRadius;
uint8_t bNoTransparentBorder;
uint8_t bSysColors;
uint8_t bCenterHotkey;
@@ -81,7 +81,7 @@ struct Options uint8_t bUseColumns;
uint8_t bRightAvatars;
uint8_t bDimIdle;
- WORD wMaxRecent;
+ uint16_t wMaxRecent;
COLORREF clLine1, clLine2, clBack;
COLORREF clLine1Sel, clLine2Sel, clBackSel;
|