summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-12 14:12:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-12 14:12:44 +0000
commit371db973914f270432e914922b735e01279c5db8 (patch)
tree4f402371dec7eacf536f61f691af3965cee09261 /src/modules/clist
parent7d9f85b1487f0f25d6d616d5cd9af61962af7781 (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 'src/modules/clist')
-rw-r--r--src/modules/clist/clistmod.cpp2
-rw-r--r--src/modules/clist/genmenu.cpp2
-rw-r--r--src/modules/clist/groups.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/clist/clistmod.cpp b/src/modules/clist/clistmod.cpp
index 2f845d065e..7fb4d55709 100644
--- a/src/modules/clist/clistmod.cpp
+++ b/src/modules/clist/clistmod.cpp
@@ -142,7 +142,7 @@ static int ProtocolAck(WPARAM, LPARAM lParam)
for (MCONTACT hContact = db_find_first(ack->szModule); hContact; ) {
MCONTACT hNext = db_find_next(hContact, ack->szModule);
if (db_get_b(hContact, "CList", "Delete", 0))
- CallService(MS_DB_CONTACT_DELETE, (WPARAM)hContact, 0);
+ CallService(MS_DB_CONTACT_DELETE, hContact, 0);
hContact = hNext;
}
}
diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp
index ad3657ab55..cad7cb1950 100644
--- a/src/modules/clist/genmenu.cpp
+++ b/src/modules/clist/genmenu.cpp
@@ -1100,7 +1100,7 @@ int TryProcessDoubleClick(MCONTACT hContact)
{
int iMenuID = GetMenuObjbyId((int)hContactMenuObject);
if (iMenuID != -1) {
- NotifyEventHooks(hPreBuildContactMenuEvent, (WPARAM)hContact, 0);
+ NotifyEventHooks(hPreBuildContactMenuEvent, hContact, 0);
PMO_IntMenuItem pimi = (PMO_IntMenuItem)MO_GetDefaultMenuItem((WPARAM)g_menus[ iMenuID ]->m_items.first, 0);
if (pimi != NULL) {
diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp
index 3799770865..f80dd51820 100644
--- a/src/modules/clist/groups.cpp
+++ b/src/modules/clist/groups.cpp
@@ -227,7 +227,7 @@ static INT_PTR DeleteGroup(WPARAM wParam, LPARAM)
db_unset(hContact, "CList", "Group");
grpChg.pszNewName = NULL;
}
- NotifyEventHooks(hGroupChangeEvent, (WPARAM)hContact, (LPARAM)&grpChg);
+ NotifyEventHooks(hGroupChangeEvent, hContact, (LPARAM)&grpChg);
}
//shuffle list of groups up to fill gap
for (i = wParam - 1;; i++) {