summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-06 10:23:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-06 10:23:34 +0000
commit77778c2b9236077c7e79f06aa798affa2f90a1db (patch)
tree84522dfa63e6f5982614e61a0b1ff2467620d441 /plugins/AssocMgr/src/utils.cpp
parent70cbc6e77f935b7116c1080033f5d7d5b604b5a7 (diff)
fix for some warnings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14023 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AssocMgr/src/utils.cpp')
-rw-r--r--plugins/AssocMgr/src/utils.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/AssocMgr/src/utils.cpp b/plugins/AssocMgr/src/utils.cpp
index 5c6d08da24..993f0bbaa9 100644
--- a/plugins/AssocMgr/src/utils.cpp
+++ b/plugins/AssocMgr/src/utils.cpp
@@ -112,17 +112,17 @@ BOOL EnumDbPrefixSettings(const char *pszModule,const char *pszSettingPrefix,cha
{
DBCONTACTENUMSETTINGS dbces;
struct EnumPrefixSettingsParams param;
- dbces.szModule=pszModule;
- dbces.pfnEnumProc=EnumPrefixSettingsProc;
- dbces.lParam=(LPARAM)&param;
- param.settings=NULL;
- param.nSettingsCount=0;
- param.pszPrefix=pszSettingPrefix;
- param.nPrefixLen=mir_strlen(pszSettingPrefix);
- CallService(MS_DB_CONTACT_ENUMSETTINGS,0,(LPARAM)&dbces);
- *pnSettingsCount=param.nSettingsCount;
- *pSettings=param.settings;
- return param.nSettingsCount!=0;
+ dbces.szModule = pszModule;
+ dbces.pfnEnumProc = EnumPrefixSettingsProc;
+ dbces.lParam = (LPARAM)&param;
+ param.settings = NULL;
+ param.nSettingsCount = 0;
+ param.pszPrefix = pszSettingPrefix;
+ param.nPrefixLen = (int)mir_strlen(pszSettingPrefix);
+ CallService(MS_DB_CONTACT_ENUMSETTINGS, 0, (LPARAM)&dbces);
+ *pnSettingsCount = param.nSettingsCount;
+ *pSettings = param.settings;
+ return param.nSettingsCount != 0;
}
/************************* Error Output ***************************/