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/SmileyAdd/src/general.cpp | 2 +- plugins/SmileyAdd/src/services.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SmileyAdd') diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index ed70db98f7..68f849dc23 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -214,7 +214,7 @@ void DestroyGdiPlus(void) MCONTACT DecodeMetaContact(MCONTACT hContact) { if (hContact == NULL) return NULL; - MCONTACT hReal = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM)hContact, 0); + MCONTACT hReal = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0); if (hReal == NULL || hReal == (MCONTACT)CALLSERVICE_NOTFOUND) hReal = hContact; diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index 1c404a7c50..776c07415e 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -365,7 +365,7 @@ INT_PTR CustomCatMenu(WPARAM hContact, LPARAM lParam) if (lParam == 1) empty = _T(""); opt.WriteContactCategory(hContact, empty); } - NotifyEventHooks(hEvent1, (WPARAM)hContact, 0); + NotifyEventHooks(hEvent1, hContact, 0); } for (int i=0; i < menuHandleArray.getCount(); i++) -- cgit v1.2.3