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