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 --- plugins/DbEditorPP/src/main_window.cpp | 2 +- plugins/DbEditorPP/src/modsettingenum.cpp | 4 ++-- plugins/DbEditorPP/src/moduletree.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/main_window.cpp b/plugins/DbEditorPP/src/main_window.cpp index 02b0c98c9b..efdf5599ec 100644 --- a/plugins/DbEditorPP/src/main_window.cpp +++ b/plugins/DbEditorPP/src/main_window.cpp @@ -128,7 +128,7 @@ LRESULT CALLBACK ModuleTreeSubclassProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM if (MessageBox(0,msg, Translate("Confirm Contact Delete"), MB_YESNO|MB_ICONEXCLAMATION) == IDNO) break; } - CallService(MS_DB_CONTACT_DELETE, (WPARAM)hContact,0); + CallService(MS_DB_CONTACT_DELETE, hContact,0); freeTree(hwnd,mtis->hContact); TreeView_DeleteItem(hwnd,tvi.hItem); } diff --git a/plugins/DbEditorPP/src/modsettingenum.cpp b/plugins/DbEditorPP/src/modsettingenum.cpp index 42e21b67f0..a1a49bcf42 100644 --- a/plugins/DbEditorPP/src/modsettingenum.cpp +++ b/plugins/DbEditorPP/src/modsettingenum.cpp @@ -65,7 +65,7 @@ int EnumSettings(MCONTACT hContact, char* module, ModuleSettingLL *msll) dbces.lParam = (LPARAM)msll; msll->first = 0; msll->last = 0; - return !CallService(MS_DB_CONTACT_ENUMSETTINGS, (WPARAM)hContact, (LPARAM)&dbces); + return !CallService(MS_DB_CONTACT_ENUMSETTINGS, hContact, (LPARAM)&dbces); } int CheckIfModuleIsEmptyProc(const char *szSetting, LPARAM lParam) @@ -78,7 +78,7 @@ int IsModuleEmpty(MCONTACT hContact, char* szModule) DBCONTACTENUMSETTINGS dbces; dbces.pfnEnumProc = CheckIfModuleIsEmptyProc; dbces.szModule = szModule; - int retVal = CallService(MS_DB_CONTACT_ENUMSETTINGS, (WPARAM)hContact, (LPARAM)&dbces); + int retVal = CallService(MS_DB_CONTACT_ENUMSETTINGS, hContact, (LPARAM)&dbces); if (retVal >= 0) return 0; return 1; diff --git a/plugins/DbEditorPP/src/moduletree.cpp b/plugins/DbEditorPP/src/moduletree.cpp index b6b150e7f5..7427e635a9 100644 --- a/plugins/DbEditorPP/src/moduletree.cpp +++ b/plugins/DbEditorPP/src/moduletree.cpp @@ -847,13 +847,13 @@ void moduleListRightClick(HWND hwnd, WPARAM wParam,LPARAM lParam) // hwnd here i char msg[1024]; mir_snprintf(msg, SIZEOF(msg), Translate("Are you sure you want to delete contact \"%s\"?"), module); if (MessageBox(0,msg, Translate("Confirm Contact Delete"), MB_YESNO|MB_ICONEXCLAMATION) == IDYES) { - CallService(MS_DB_CONTACT_DELETE, (WPARAM)hContact,0); + CallService(MS_DB_CONTACT_DELETE, hContact,0); freeTree(((LPNMHDR)lParam)->hwndFrom,hContact); TreeView_DeleteItem(((LPNMHDR)lParam)->hwndFrom,tvi.hItem); } } else { - CallService(MS_DB_CONTACT_DELETE, (WPARAM)hContact,0); + CallService(MS_DB_CONTACT_DELETE, hContact,0); freeTree(((LPNMHDR)lParam)->hwndFrom,hContact); TreeView_DeleteItem(((LPNMHDR)lParam)->hwndFrom,tvi.hItem); } -- cgit v1.2.3