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 --- include/m_message.h | 4 ++-- include/m_protocols.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/m_message.h b/include/m_message.h index cd16d59d58..f5ba26ea07 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -214,7 +214,7 @@ __forceinline void Srmm_RemoveIcon(StatusIconData *sid) #define MS_MSG_MODIFYICON "MessageAPI/ModifyIcon" __forceinline void Srmm_ModifyIcon(MCONTACT hContact, StatusIconData *sid) -{ CallService(MS_MSG_MODIFYICON, (WPARAM)hContact, (LPARAM)sid); +{ CallService(MS_MSG_MODIFYICON, hContact, (LPARAM)sid); } // wParam = (HANDLE)hContact @@ -223,7 +223,7 @@ __forceinline void Srmm_ModifyIcon(MCONTACT hContact, StatusIconData *sid) // don't free this memory. __forceinline StatusIconData* Srmm_GetNthIcon(MCONTACT hContact, int index) -{ return (StatusIconData*)CallService("MessageAPI/GetNthIcon", (WPARAM)hContact, index); +{ return (StatusIconData*)CallService("MessageAPI/GetNthIcon", hContact, index); } // wParam = (HANDLE)hContact; diff --git a/include/m_protocols.h b/include/m_protocols.h index 041ea2b02b..52e6107e08 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -233,7 +233,7 @@ typedef struct { #define MS_PROTO_GETCONTACTBASEPROTO "Proto/GetContactBaseProto" __forceinline char* GetContactProto(MCONTACT hContact) -{ return (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0); +{ return (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, hContact, 0); } //determines whether the specified contact has the given protocol in its chain -- cgit v1.2.3