From 6d6cb956a78b2dbfa7e8d62f4234d8f27b100468 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Nov 2017 22:06:26 +0300 Subject: database enumerators => void* instead of LPARAM --- plugins/TabSRMM/src/sendlater.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/sendlater.cpp') diff --git a/plugins/TabSRMM/src/sendlater.cpp b/plugins/TabSRMM/src/sendlater.cpp index 2858ef040a..e76b4b79e0 100644 --- a/plugins/TabSRMM/src/sendlater.cpp +++ b/plugins/TabSRMM/src/sendlater.cpp @@ -235,7 +235,7 @@ bool CSendLater::processCurrentJob() // stub used as enum proc for the database enumeration, collecting // all entries in the SendLater module // (static function) -int _cdecl CSendLater::addStub(const char *szSetting, LPARAM lParam) +int _cdecl CSendLater::addStub(const char *szSetting, void *lParam) { return(sendLater->addJob(szSetting, lParam)); } @@ -272,9 +272,9 @@ void CSendLater::processContacts() // // @param lParam: a contact handle for which the job should be scheduled // @return 0 on failure, 1 otherwise -int CSendLater::addJob(const char *szSetting, LPARAM lParam) +int CSendLater::addJob(const char *szSetting, void *lParam) { - MCONTACT hContact = lParam; + MCONTACT hContact = (MCONTACT)lParam; DBVARIANT dbv = { 0 }; char *szOrig_Utf = nullptr; -- cgit v1.2.3