From c2da0a3c7938b6461c3293b31d0e2f0db723f8d3 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 12 Jul 2012 16:26:53 +0000 Subject: Fixed all warnings left from when compiling with -pedantic, confirmed with gcc, llvm and clang. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16415 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/malloc.c') diff --git a/src/common/malloc.c b/src/common/malloc.c index 1769e0982..9976a28d5 100644 --- a/src/common/malloc.c +++ b/src/common/malloc.c @@ -327,7 +327,7 @@ void* _mmalloc(size_t size, const char *file, int line, const char *func ) head->size = (unsigned short)size; *(long*)((char*)head + sizeof(struct unit_head) - sizeof(long) + size) = 0xdeadbeaf; return (char *)head + sizeof(struct unit_head) - sizeof(long); -}; +} void* _mcalloc(size_t num, size_t size, const char *file, int line, const char *func ) { -- cgit v1.2.3-60-g2f50