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/IcqOscarJ | |
parent | 6bb0abf1e62b18e4029ae0b7b73ee47f3fe3b39d (diff) |
database enumerators => void* instead of LPARAM
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_servlist.cpp | 6 | ||||
-rw-r--r-- | protocols/IcqOscarJ/src/icq_uploadui.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/src/icq_servlist.cpp b/protocols/IcqOscarJ/src/icq_servlist.cpp index 11291eb889..4a562bf016 100644 --- a/protocols/IcqOscarJ/src/icq_servlist.cpp +++ b/protocols/IcqOscarJ/src/icq_servlist.cpp @@ -812,7 +812,7 @@ struct GroupReserveIdsEnumParam char *szModule;
};
-static int GroupReserveIdsEnumProc(const char *szSetting, LPARAM lParam)
+static int GroupReserveIdsEnumProc(const char *szSetting, void *lParam)
{
if (szSetting && mir_strlen(szSetting) < 5) {
// it is probably server group
@@ -1252,7 +1252,7 @@ void* CIcqProto::collectGroups(int *count) return buf;
}
-static int GroupLinksEnumProc(const char *szSetting, LPARAM lParam)
+static int GroupLinksEnumProc(const char *szSetting, void *lParam)
{
// check link target, add if match
if (db_get_w(NULL, ((char**)lParam)[2], szSetting, 0) == (WORD)((char**)lParam)[1]) {
@@ -1489,7 +1489,7 @@ char *CIcqProto::getServListGroupCListPath(WORD wGroupId) }
-static int SrvGroupNamesEnumProc(const char *szSetting, LPARAM lParam)
+static int SrvGroupNamesEnumProc(const char *szSetting, void *lParam)
{
// check server-group cache item
const char **params = (const char**)lParam;
diff --git a/protocols/IcqOscarJ/src/icq_uploadui.cpp b/protocols/IcqOscarJ/src/icq_uploadui.cpp index afa1843853..139f89a658 100644 --- a/protocols/IcqOscarJ/src/icq_uploadui.cpp +++ b/protocols/IcqOscarJ/src/icq_uploadui.cpp @@ -131,7 +131,7 @@ static void GetLastUploadLogLine(HWND hwndDlg, char *szBuf, size_t cbBuf) make_utf8_string_static(str, szBuf, cbBuf);
}
-static int GroupEnumIdsEnumProc(const char *szSetting, LPARAM lParam)
+static int GroupEnumIdsEnumProc(const char *szSetting, void *lParam)
{
// it is probably server group
if (szSetting && mir_strlen(szSetting) < 5) {
|