diff options
author | George Hazan <ghazan@miranda.im> | 2019-11-19 16:32:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-11-19 16:32:07 +0300 |
commit | 36abafbd09cb74f66804938238dd5be13caff5dd (patch) | |
tree | cef6ac29d654e8107eeb48533e6f06778ef09882 /protocols | |
parent | 9271d964814ce1272483b8ea95dd2e00f2471802 (diff) |
warning fixes
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index a69a5c3c35..087cbe418c 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -672,7 +672,7 @@ void CVkProto::OnReceiveUserInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe if (jnResponse["freeoffline"].as_bool())
for (auto &it : arContacts) {
- MCONTACT cc = (MCONTACT)it;
+ MCONTACT cc = (UINT_PTR)it;
LONG userID = getDword(cc, "ID", VK_INVALID_USER);
if (userID == m_myUserId || userID == VK_FEED_USER)
continue;
@@ -838,7 +838,7 @@ void CVkProto::OnReceiveFriends(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq if (bCleanContacts)
for (auto &it : arContacts) {
- MCONTACT hContact = (MCONTACT)it;
+ MCONTACT hContact = (UINT_PTR)it;
LONG userID = getDword(hContact, "ID", VK_INVALID_USER);
bool bIsFriendGroup = IsGroupUser(hContact) && getBool(hContact, "friend");
if (userID == m_myUserId || userID == VK_FEED_USER || bIsFriendGroup)
|