summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_message.h4
-rw-r--r--include/m_protocols.h2
2 files changed, 3 insertions, 3 deletions
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