summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify
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/TooltipNotify
parent6bb0abf1e62b18e4029ae0b7b73ee47f3fe3b39d (diff)
database enumerators => void* instead of LPARAM
Diffstat (limited to 'plugins/TooltipNotify')
-rw-r--r--plugins/TooltipNotify/src/DbHelpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TooltipNotify/src/DbHelpers.cpp b/plugins/TooltipNotify/src/DbHelpers.cpp
index 8fe93249a6..558a019fbf 100644
--- a/plugins/TooltipNotify/src/DbHelpers.cpp
+++ b/plugins/TooltipNotify/src/DbHelpers.cpp
@@ -6,7 +6,7 @@
typedef std::vector<const char*> SettingsList;
-static int EnumSettingsProc1(const char*, LPARAM)
+static int EnumSettingsProc1(const char*, void *)
{
return 0;
}
@@ -16,7 +16,7 @@ bool ModuleSettingsExists(MCONTACT hContact, const char* pszModuleName)
return db_enum_settings(hContact, EnumSettingsProc1, pszModuleName) != -1;
}
-static int EnumSettingsProc2(const char *pszSetting, LPARAM lParam)
+static int EnumSettingsProc2(const char *pszSetting, void *lParam)
{
SettingsList& settingsList = *((SettingsList*)lParam);
settingsList.push_back(_strdup(pszSetting));