summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/avatars.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-25 19:29:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-25 19:29:14 +0300
commited946baa5e32135fd3c9a3c263a98340ead4da47 (patch)
tree3f918ca689480269ddc9927a5ecbd8b76e6bcb26 /protocols/Discord/src/avatars.cpp
parentd94f9da99db86de15df91acbdd820584186417a0 (diff)
useless condition removed
Diffstat (limited to 'protocols/Discord/src/avatars.cpp')
-rw-r--r--protocols/Discord/src/avatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/avatars.cpp b/protocols/Discord/src/avatars.cpp
index d938b95727..87905e17e1 100644
--- a/protocols/Discord/src/avatars.cpp
+++ b/protocols/Discord/src/avatars.cpp
@@ -66,7 +66,7 @@ void CDiscordProto::OnReceiveAvatar(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *
{
PROTO_AVATAR_INFORMATION ai = { 0 };
ai.format = PA_FORMAT_UNKNOWN;
- ai.hContact = (MCONTACT)pReq->pUserInfo;
+ ai.hContact = (UINT_PTR)pReq->pUserInfo;
if (reply->resultCode != 200) {
LBL_Error: