diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-11 14:34:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-11 14:34:05 +0000 |
commit | eb4c733a253ba63e0d59e5b7a5d78dd3ad787f37 (patch) | |
tree | f2e634eeec8940bd3328fc60abf9ae212218644a /plugins/Db3x_mmap | |
parent | 1880da207800947d057639ad399513b36b9d7379 (diff) |
global variable removed from db_mmap_sa
git-svn-id: http://svn.miranda-ng.org/main/trunk@3055 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap')
-rw-r--r-- | plugins/Db3x_mmap/src/dbsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbsettings.cpp b/plugins/Db3x_mmap/src/dbsettings.cpp index 55c43622d4..71b64c7df1 100644 --- a/plugins/Db3x_mmap/src/dbsettings.cpp +++ b/plugins/Db3x_mmap/src/dbsettings.cpp @@ -328,7 +328,7 @@ STDMETHODIMP_(BOOL) CDb3Base::FreeVariant(DBVARIANT *dbv) STDMETHODIMP_(BOOL) CDb3Base::SetSettingResident(BOOL bIsResident, const char *pszSettingName)
{
- char *szSetting = m_cache->GetCachedSetting(NULL, pszSettingName, 0, strlen(pszSettingName));
+ char *szSetting = m_cache->GetCachedSetting(NULL, pszSettingName, 0, (int)strlen(pszSettingName));
szSetting[-1] = (char)bIsResident;
mir_cslock lck(m_csDbAccess);
|