From 6d6cb956a78b2dbfa7e8d62f4234d8f27b100468 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Nov 2017 22:06:26 +0300 Subject: database enumerators => void* instead of LPARAM --- plugins/TooltipNotify/src/DbHelpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TooltipNotify') 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 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)); -- cgit v1.2.3