summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/AimOscar/src/chat.cpp')
-rw-r--r--protocols/AimOscar/src/chat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/AimOscar/src/chat.cpp b/protocols/AimOscar/src/chat.cpp
index 29b1a202dd..d1b4bb900f 100644
--- a/protocols/AimOscar/src/chat.cpp
+++ b/protocols/AimOscar/src/chat.cpp
@@ -139,7 +139,7 @@ int CAimProto::OnGCEvent(WPARAM wParam,LPARAM lParam)
char* sn = mir_t2a(gch->ptszUID);
MCONTACT hContact = contact_from_sn(sn);
mir_free(sn);
- CallService(MS_MSG_SENDMESSAGE, (WPARAM)hContact, 0);
+ CallService(MS_MSG_SENDMESSAGE, hContact, 0);
}
break;
@@ -166,11 +166,11 @@ int CAimProto::OnGCEvent(WPARAM wParam,LPARAM lParam)
switch (gch->dwData)
{
case 10:
- CallService(MS_USERINFO_SHOWDIALOG, (WPARAM)hContact, 0);
+ CallService(MS_USERINFO_SHOWDIALOG, hContact, 0);
break;
case 20:
- CallService(MS_HISTORY_SHOWCONTACTHISTORY, (WPARAM)hContact, 0);
+ CallService(MS_HISTORY_SHOWCONTACTHISTORY, hContact, 0);
break;
case 110: