summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/dbpreset.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-23 17:52:37 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-23 17:52:37 +0000
commit00c758611455ee1a978d4644a2897dbfa17a420a (patch)
tree3edbe20e1497adf6f672a69837e9e0f70a4fdf07 /plugins/Dbx_mmap_SA/dbpreset.cpp
parenteda27f234053df69a304848c91aba90897d7d097 (diff)
Dbx_mmap_SA:
plusified git-svn-id: http://svn.miranda-ng.org/main/trunk@580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/dbpreset.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/dbpreset.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Dbx_mmap_SA/dbpreset.cpp b/plugins/Dbx_mmap_SA/dbpreset.cpp
index 0bb6ebd3a0..3bf17a298e 100644
--- a/plugins/Dbx_mmap_SA/dbpreset.cpp
+++ b/plugins/Dbx_mmap_SA/dbpreset.cpp
@@ -65,7 +65,7 @@ int InitPreset()
if (!fp) return 0;
lstPresets = li.List_Create(0, 50);
- lstPresets->sortFunc = DBPresetItem_Cmp;
+ lstPresets->sortFunc = (FSortFunc)DBPresetItem_Cmp;
while(!feof(fp))
{
@@ -158,7 +158,7 @@ void UninitPreset()
int i;
if (!lstPresets) return;
for (i = 0; i < lstPresets->realCount; ++i)
- DBPresetItem_Destroy(lstPresets->items[i]);
+ DBPresetItem_Destroy((DBPresetItem *)lstPresets->items[i]);
li.List_Destroy(lstPresets);
}
@@ -172,7 +172,7 @@ int DBPreset_QuerySetting(const char *szModule, const char *szSetting, DBVARIANT
search.szModule = (char *)szModule;
search.szSetting = (char *)szSetting;
DBPresetItem_Hash(&search);
- item = li.List_Find(lstPresets, &search);
+ item = (DBPresetItem *)li.List_Find(lstPresets, &search);
if (!item) return FALSE;
@@ -208,7 +208,7 @@ int DBPreset_CompareSetting(const char *szModule, const char *szSetting, DBVARIA
search.szModule = (char *)szModule;
search.szSetting = (char *)szSetting;
DBPresetItem_Hash(&search);
- item = li.List_Find(lstPresets, &search);
+ item = (DBPresetItem *)li.List_Find(lstPresets, &search);
if (!item) return FALSE;
if (item->dbv.type != item->dbv.type) return FALSE;