From 371db973914f270432e914922b735e01279c5db8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 12 Feb 2014 14:12:44 +0000 Subject: another bunch of useless conversions died git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_mw/src/clcitems.cpp | 2 +- plugins/Clist_mw/src/contact.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_mw') diff --git a/plugins/Clist_mw/src/clcitems.cpp b/plugins/Clist_mw/src/clcitems.cpp index 5bccc89885..703ae72ad4 100644 --- a/plugins/Clist_mw/src/clcitems.cpp +++ b/plugins/Clist_mw/src/clcitems.cpp @@ -135,7 +135,7 @@ static struct ClcContact* AddContactToGroup(struct ClcData *dat,ClcGroup *group, group->cl.items[i]->subcontacts = NULL; if (ProtoServiceExists(cacheEntry->szProto, PS_GETADVANCEDSTATUSICON)) - img = ProtoCallService(cacheEntry->szProto, PS_GETADVANCEDSTATUSICON, (WPARAM)hContact, 0); + img = ProtoCallService(cacheEntry->szProto, PS_GETADVANCEDSTATUSICON, hContact, 0); if (img == -1 || !(LOWORD(img))) img = pcli->pfnGetContactIcon(hContact); diff --git a/plugins/Clist_mw/src/contact.cpp b/plugins/Clist_mw/src/contact.cpp index 1f24968256..4f2fe4b3d7 100644 --- a/plugins/Clist_mw/src/contact.cpp +++ b/plugins/Clist_mw/src/contact.cpp @@ -63,8 +63,8 @@ static int GetContactStatus(MCONTACT hContact) void ChangeContactIcon(MCONTACT hContact,int iIcon,int add) { //clui MS_CLUI_CONTACTADDED MS_CLUI_CONTACTSETICON this methods is null - //CallService(add?MS_CLUI_CONTACTADDED:MS_CLUI_CONTACTSETICON,(WPARAM)hContact,iIcon); - NotifyEventHooks(hContactIconChangedEvent,(WPARAM)hContact,iIcon); + //CallService(add?MS_CLUI_CONTACTADDED:MS_CLUI_CONTACTSETICON,hContact,iIcon); + NotifyEventHooks(hContactIconChangedEvent,hContact,iIcon); } static int GetStatusModeOrdering(int statusMode) -- cgit v1.2.3