summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/MirOTR/src/mirotrmenu.cpp2
-rw-r--r--plugins/MirOTR/MirOTR/src/options.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/MirOTR/src/mirotrmenu.cpp b/plugins/MirOTR/MirOTR/src/mirotrmenu.cpp
index 513326712f..65d489d1cc 100644
--- a/plugins/MirOTR/MirOTR/src/mirotrmenu.cpp
+++ b/plugins/MirOTR/MirOTR/src/mirotrmenu.cpp
@@ -65,7 +65,7 @@ INT_PTR MirOTRMenuExecService(WPARAM wParam,LPARAM lParam)
{
if (wParam!=0) {
lpMirOTRMenuExecParam cmep=(lpMirOTRMenuExecParam)wParam;
- //call with wParam=(WPARAM)(HANDLE)hContact
+ //call with wParam=(MCONTACT)hContact
CallService(cmep->szServiceName,lParam,0);
}
return 0;
diff --git a/plugins/MirOTR/MirOTR/src/options.cpp b/plugins/MirOTR/MirOTR/src/options.cpp
index 613178905b..b6792618d5 100644
--- a/plugins/MirOTR/MirOTR/src/options.cpp
+++ b/plugins/MirOTR/MirOTR/src/options.cpp
@@ -564,7 +564,7 @@ static INT_PTR CALLBACK DlgProcMirOTROptsContacts(HWND hwndDlg, UINT msg, WPARAM
{
lvI.iItem = 0;
lvI.iSubItem = 0;
- lvI.lParam = (LPARAM)hContact;
+ lvI.lParam = hContact;
lvI.pszText = (TCHAR*)contact_get_nameT(hContact);
lvI.iItem = ListView_InsertItem(lv , &lvI);