diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-12 15:24:20 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-12 15:24:20 +0000 |
commit | 1427a87a2ad9a4fc947996fff2c7d85d265b67d3 (patch) | |
tree | 1934d74b7c394395db385425ca0391562361812d /src/common/db.c | |
parent | 00f7f9b9e2f72595e56af9c40d97fbd73408df54 (diff) | |
download | hercules-1427a87a2ad9a4fc947996fff2c7d85d265b67d3.tar.gz hercules-1427a87a2ad9a4fc947996fff2c7d85d265b67d3.tar.bz2 hercules-1427a87a2ad9a4fc947996fff2c7d85d265b67d3.tar.xz hercules-1427a87a2ad9a4fc947996fff2c7d85d265b67d3.zip |
- Minor changes to ers.
- Removed unused/hardly used cbasetypes typedefs.
- Updated txt-converter's makefile to include utils.o
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9473 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/db.c')
-rw-r--r-- | src/common/db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/db.c b/src/common/db.c index 28b5721e9..a65e87918 100644 --- a/src/common/db.c +++ b/src/common/db.c @@ -186,7 +186,7 @@ typedef struct db { unsigned int free_max; unsigned int free_lock; // Other - ERInterface nodes; + ERS nodes; DBComparator cmp; DBHasher hash; DBReleaser release; @@ -2165,7 +2165,7 @@ DBInterface db_alloc(const char *file, int line, DBType type, DBOptions options, db->free_max = 0; db->free_lock = 0; /* Other */ - db->nodes = ers_new((uint32)sizeof(struct dbn)); + db->nodes = ers_new(sizeof(struct dbn)); db->cmp = db_default_cmp(type); db->hash = db_default_hash(type); db->release = db_default_release(type, options); |