From 77778c2b9236077c7e79f06aa798affa2f90a1db Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 6 Jun 2015 10:23:34 +0000 Subject: fix for some warnings git-svn-id: http://svn.miranda-ng.org/main/trunk@14023 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AssocMgr/src/utils.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'plugins/AssocMgr/src/utils.cpp') 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)¶m; - 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)¶m; + 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 ***************************/ -- cgit v1.2.3