diff options
Diffstat (limited to 'plugins/TabSRMM/src/sendlater.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendlater.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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;
|