summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index c8e17b7aec..4fee4049ac 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -522,7 +522,7 @@ void CSteamProto::OnGotUserSummaries(const NETLIBHTTPREQUEST *response)
void CSteamProto::OnGotAvatar(const NETLIBHTTPREQUEST *response, void *arg)
{
PROTO_AVATAR_INFORMATION ai = { 0 };
- ai.hContact = (MCONTACT)arg;
+ ai.hContact = (UINT_PTR)arg;
GetDbAvatarInfo(ai);
if (response == NULL || response->resultCode != HTTP_CODE_OK)
@@ -582,7 +582,7 @@ void CSteamProto::OnFriendRemoved(const NETLIBHTTPREQUEST *response, void *arg)
{
if (response == NULL || response->resultCode != HTTP_CODE_OK || lstrcmpiA(response->pData, "true"))
{
- MCONTACT hContact = (MCONTACT)arg;
+ MCONTACT hContact = (UINT_PTR)arg;
ptrA who(getStringA(hContact, "SteamID"));
debugLogA("CSteamProto::OnFriendRemoved: failed to remove friend %s", who);