summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_base.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-23 21:41:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-23 21:41:00 +0000
commit90e67bb41be1d0dbe9e39463513974bcdfd6d2d4 (patch)
tree6ba1a1ad9cb9214d065afbaa2c492986e0e3d51b /plugins/UserInfoEx/src/ctrl_base.cpp
parentf4d4fcdc5e32d3611afdfaf46e80b99d7fcf37ac (diff)
some crazy list declarations fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@13804 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_base.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_base.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_base.cpp b/plugins/UserInfoEx/src/ctrl_base.cpp
index 28d664d82b..35780b7fb4 100644
--- a/plugins/UserInfoEx/src/ctrl_base.cpp
+++ b/plugins/UserInfoEx/src/ctrl_base.cpp
@@ -155,7 +155,7 @@ CCtrlList* CCtrlList::CreateObj(HWND hOwnerDlg)
*
*
**/
-INT_PTR CCtrlList::sortFunc(CBaseCtrl *p1, CBaseCtrl *p2)
+int CCtrlList::sortFunc(const CBaseCtrl *p1, const CBaseCtrl *p2)
{
return p1->_idCtrl - p2->_idCtrl;
}
@@ -164,8 +164,8 @@ INT_PTR CCtrlList::sortFunc(CBaseCtrl *p1, CBaseCtrl *p2)
*
*
**/
-CCtrlList::CCtrlList(HWND hOwnerDlg)
-: LIST<CBaseCtrl>(10, (FTSortFunc) CCtrlList::sortFunc)
+CCtrlList::CCtrlList(HWND hOwnerDlg) :
+ LIST<CBaseCtrl>(10, &CCtrlList::sortFunc)
{
_hOwnerDlg = hOwnerDlg;
SetUserData(_hOwnerDlg, this);