]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
This bug was what caused mem.c to crash, dear lord
authorDale Weiler <killfieldengine@gmail.com>
Thu, 15 Nov 2012 20:04:05 +0000 (20:04 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 15 Nov 2012 20:04:05 +0000 (20:04 +0000)
mem.c

diff --git a/mem.c b/mem.c
index ac638863f8da1cc58dfb1d44742065596511e74c..5858ffd0021d29e49632ab1447459bb6574df018 100644 (file)
--- 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;