From: Dale Weiler Date: Thu, 15 Nov 2012 20:04:05 +0000 (+0000) Subject: This bug was what caused mem.c to crash, dear lord X-Git-Tag: 0.1~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fb30dd9a3fcaac9a57442377923a446ab1e19a04;p=xonotic%2Fgmqcc.git This bug was what caused mem.c to crash, dear lord --- diff --git a/mem.c b/mem.c index ac63886..5858ffd 100644 --- a/mem.c +++ b/mem.c @@ -211,7 +211,7 @@ static int mem_createblock(const size_t size) { GMQCC_MEM_WRITEHEAP (right, mem_addr, size); GMQCC_MEM_MARKFREE (right); GMQCC_MEM_SETADDROFPS(right, left); - GMQCC_MEM_SETADDROFPS(right, 0); + GMQCC_MEM_SETADDROFFS(right, 0); } mem_dump(); return 0;