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 --- src/modules/clist/clistmod.cpp | 2 +- src/modules/clist/genmenu.cpp | 2 +- src/modules/clist/groups.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/clist') 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++) { -- cgit v1.2.3