diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-23 22:06:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-23 22:06:26 +0300 |
commit | 6d6cb956a78b2dbfa7e8d62f4234d8f27b100468 (patch) | |
tree | e41f29a86d93ffc0ca414e8d84c8cdd47847baeb /protocols/IRCG | |
parent | 6bb0abf1e62b18e4029ae0b7b73ee47f3fe3b39d (diff) |
database enumerators => void* instead of LPARAM
Diffstat (limited to 'protocols/IRCG')
-rw-r--r-- | protocols/IRCG/src/ircproto.cpp | 2 | ||||
-rw-r--r-- | protocols/IRCG/src/options.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp index 5ce755d6cb..869732806a 100644 --- a/protocols/IRCG/src/ircproto.cpp +++ b/protocols/IRCG/src/ircproto.cpp @@ -156,7 +156,7 @@ CIrcProto::~CIrcProto() ////////////////////////////////////////////////////////////////////////////////////////
// OnModulesLoaded - performs hook registration
-static int sttCheckPerform(const char *szSetting, LPARAM lParam)
+static int sttCheckPerform(const char *szSetting, void *lParam)
{
if (!_strnicmp(szSetting, "PERFORM:", 8)) {
CMStringA s = szSetting;
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp index 1d93bf88bb..374500cb5f 100644 --- a/protocols/IRCG/src/options.cpp +++ b/protocols/IRCG/src/options.cpp @@ -110,7 +110,7 @@ void CIrcProto::WriteSettings( TDbSetting* sets, int count ) /////////////////////////////////////////////////////////////////////////////////////////
-static int sttServerEnum( const char* szSetting, LPARAM )
+static int sttServerEnum( const char* szSetting, void*)
{
DBVARIANT dbv;
if (db_get_s(NULL, SERVERSMODULE, szSetting, &dbv))
|