diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-24 12:47:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-24 12:47:23 +0000 |
commit | 04ea225a48f0fe836361882cb0f78e7b99ee582f (patch) | |
tree | 10c284c74489c884cb5888fa32259bde6b5c413a /plugins/TabSRMM/src/sendlater.cpp | |
parent | 9c8e399b431a9b0995efd24752a47efbe6e84ade (diff) |
more useless conversions removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@8254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendlater.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendlater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/sendlater.cpp b/plugins/TabSRMM/src/sendlater.cpp index 0d2b7c828f..9845968dbc 100644 --- a/plugins/TabSRMM/src/sendlater.cpp +++ b/plugins/TabSRMM/src/sendlater.cpp @@ -277,7 +277,7 @@ void CSendLater::processSingleContact(const MCONTACT hContact) DBCONTACTENUMSETTINGS ces = {0};
ces.pfnEnumProc = CSendLater::addStub;
ces.szModule = "SendLater";
- ces.lParam = (LPARAM)hContact;
+ ces.lParam = hContact;
CallService(MS_DB_CONTACT_ENUMSETTINGS, hContact, (LPARAM)&ces);
}
@@ -565,7 +565,7 @@ LRESULT CSendLater::qMgrAddFilter(const MCONTACT hContact, const TCHAR* tszNick) lr = ::SendMessage(m_hwndFilter, CB_FINDSTRING, 0, reinterpret_cast<LPARAM>(tszNick));
if (lr == CB_ERR) {
lr = ::SendMessage(m_hwndFilter, CB_INSERTSTRING, -1, reinterpret_cast<LPARAM>(tszNick));
- ::SendMessage(m_hwndFilter, CB_SETITEMDATA, lr, (LPARAM)hContact);
+ ::SendMessage(m_hwndFilter, CB_SETITEMDATA, lr, hContact);
if (hContact == m_hFilter)
m_sel = lr;
}
|