diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-12 14:12:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-12 14:12:44 +0000 |
commit | 371db973914f270432e914922b735e01279c5db8 (patch) | |
tree | 4f402371dec7eacf536f61f691af3965cee09261 /include | |
parent | 7d9f85b1487f0f25d6d616d5cd9af61962af7781 (diff) |
another bunch of useless conversions died
git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_message.h | 4 | ||||
-rw-r--r-- | include/m_protocols.h | 2 |
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
|