summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-23 22:06:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-23 22:06:26 +0300
commit6d6cb956a78b2dbfa7e8d62f4234d8f27b100468 (patch)
treee41f29a86d93ffc0ca414e8d84c8cdd47847baeb /plugins/ClientChangeNotify
parent6bb0abf1e62b18e4029ae0b7b73ee47f3fe3b39d (diff)
database enumerators => void* instead of LPARAM
Diffstat (limited to 'plugins/ClientChangeNotify')
-rw-r--r--plugins/ClientChangeNotify/src/Options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ClientChangeNotify/src/Options.cpp b/plugins/ClientChangeNotify/src/Options.cpp
index 05660a21f7..cc1e3e6d96 100644
--- a/plugins/ClientChangeNotify/src/Options.cpp
+++ b/plugins/ClientChangeNotify/src/Options.cpp
@@ -265,7 +265,7 @@ struct sTreeReadEnumData
const CString &sModule, &sDBSettingPrefix;
};
-int TreeReadEnum(const char *szSetting, LPARAM lParam)
+int TreeReadEnum(const char *szSetting, void *lParam)
{
sTreeReadEnumData *pData = (sTreeReadEnumData*)lParam;
int Len = pData->TreeCtrl->sDBSetting.GetLen() + _countof(TREEITEM_DBSTR_TITLE) - 1;
@@ -441,7 +441,7 @@ typedef struct
CString *sDBSettingPrefix;
} sTreeDeleteEnumData;
-int TreeDeleteEnum(const char *szSetting, LPARAM lParam)
+int TreeDeleteEnum(const char *szSetting, void *lParam)
{
sTreeDeleteEnumData *TreeDeleteEnumData = (sTreeDeleteEnumData*)lParam;
CString CurSetting = *TreeDeleteEnumData->sDBSettingPrefix + TreeDeleteEnumData->TreeCtrl->sDBSetting + TREEITEM_DBSTR_TITLE;
@@ -644,7 +644,7 @@ struct sListReadEnumData
const CString &sModule, &sDBSettingPrefix;
};
-int ListReadEnum(const char *szSetting, LPARAM lParam)
+int ListReadEnum(const char *szSetting, void *lParam)
{
sListReadEnumData *pData = (sListReadEnumData*)lParam;
int Len = pData->sDBSettingPrefix.GetLen() + pData->ListCtrl->sDBSetting.GetLen() + _countof(LISTITEM_DBSTR_TEXT) - 1;
@@ -721,7 +721,7 @@ typedef struct
CString *sDBSettingPrefix;
} sListDeleteEnumData;
-int ListDeleteEnum(const char *szSetting, LPARAM lParam)
+int ListDeleteEnum(const char *szSetting, void *lParam)
{
sListDeleteEnumData *ListDeleteEnumData = (sListDeleteEnumData*)lParam;
CString CurSetting = *ListDeleteEnumData->sDBSettingPrefix + ListDeleteEnumData->ListCtrl->sDBSetting + LISTITEM_DBSTR_TEXT;