diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-27 11:09:57 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-27 11:09:57 +0000 |
commit | bb0488451bdc08e6abe7622d10bbcb4135f2dc8f (patch) | |
tree | 9b981f46337325e893178f641dae39399fd6118d /src/common/malloc.c | |
parent | af99be9bd11d716e0b8ef8eab4a36c9b9925e4c8 (diff) | |
download | hercules-bb0488451bdc08e6abe7622d10bbcb4135f2dc8f.tar.gz hercules-bb0488451bdc08e6abe7622d10bbcb4135f2dc8f.tar.bz2 hercules-bb0488451bdc08e6abe7622d10bbcb4135f2dc8f.tar.xz hercules-bb0488451bdc08e6abe7622d10bbcb4135f2dc8f.zip |
Corrected r12662 where a guild break would trigger the OnGuildBreak event for all castles (even of other guilds).
Corrected some x64 compilation warnings in ers/malloc files.
cleaned up a case of bad variable reuse.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12666 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/malloc.c')
-rw-r--r-- | src/common/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/malloc.c b/src/common/malloc.c index 93d03107b..c64f757bd 100644 --- a/src/common/malloc.c +++ b/src/common/malloc.c @@ -509,7 +509,7 @@ static void block_free(struct block* p) hash_unfill[0] = p; } -unsigned int memmgr_usage (void) +size_t memmgr_usage (void) { return memmgr_usage_bytes / 1024; } @@ -665,7 +665,7 @@ bool malloc_verify(void* ptr) #endif } -unsigned int malloc_usage (void) +size_t malloc_usage (void) { #ifdef USE_MEMMGR return memmgr_usage (); |