summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist')
-rw-r--r--src/modules/clist/clistmenus.cpp2
-rw-r--r--src/modules/clist/genmenu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp
index 56b6cd7720..f1cfadae46 100644
--- a/src/modules/clist/clistmenus.cpp
+++ b/src/modules/clist/clistmenus.cpp
@@ -346,7 +346,7 @@ INT_PTR ContactMenuExecService(WPARAM wParam, LPARAM lParam)
{
if (wParam != 0) {
lpContactMenuExecParam cmep = (lpContactMenuExecParam)wParam;
- //call with wParam = (WPARAM)(HANDLE)hContact, lparam = popupposition
+ //call with wParam = (MCONTACT)hContact, lparam = popupposition
CallService(cmep->szServiceName, lParam, cmep->param);
}
return 0;
diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp
index cad7cb1950..0014545c27 100644
--- a/src/modules/clist/genmenu.cpp
+++ b/src/modules/clist/genmenu.cpp
@@ -1104,7 +1104,7 @@ int TryProcessDoubleClick(MCONTACT hContact)
PMO_IntMenuItem pimi = (PMO_IntMenuItem)MO_GetDefaultMenuItem((WPARAM)g_menus[ iMenuID ]->m_items.first, 0);
if (pimi != NULL) {
- MO_ProcessCommand(pimi, (LPARAM)hContact);
+ MO_ProcessCommand(pimi, hContact);
return 0;
}
}