diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 17:52:37 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 17:52:37 +0000 |
commit | 00c758611455ee1a978d4644a2897dbfa17a420a (patch) | |
tree | 3edbe20e1497adf6f672a69837e9e0f70a4fdf07 /plugins/Dbx_mmap_SA/dbmodulechain.cpp | |
parent | eda27f234053df69a304848c91aba90897d7d097 (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/dbmodulechain.cpp')
-rw-r--r-- | plugins/Dbx_mmap_SA/dbmodulechain.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Dbx_mmap_SA/dbmodulechain.cpp b/plugins/Dbx_mmap_SA/dbmodulechain.cpp index 1af4226419..62d0b6b3c7 100644 --- a/plugins/Dbx_mmap_SA/dbmodulechain.cpp +++ b/plugins/Dbx_mmap_SA/dbmodulechain.cpp @@ -69,13 +69,13 @@ int InitModuleNames(void) int nameLen;
char *mod;
- hModHeap=HeapCreate(0,0,0);
- lMods.sortFunc=ModCompare;
- lMods.increment=50;
- lOfs.sortFunc=OfsCompare;
- lOfs.increment=50;
+ hModHeap = HeapCreate(0, 0, 0);
+ lMods.sortFunc = (FSortFunc)ModCompare;
+ lMods.increment = 50;
+ lOfs.sortFunc = (FSortFunc)OfsCompare;
+ lOfs.increment = 50;
- ofsThis=dbHeader.ofsFirstModuleName;
+ ofsThis = dbHeader.ofsFirstModuleName;
dbmn=(struct DBModuleName*)DBRead(ofsThis,sizeof(struct DBModuleName),NULL);
while(ofsThis) {
if(dbmn->signature!=DBMODULENAME_SIGNATURE) DatabaseCorruption(NULL);
|