From e5af3bee158ea36562d08ef0e1b587ed0ed5ec3c Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 2 Jul 2015 15:56:44 -0500 Subject: [PATCH] I am legit stuck! modified: exmmtest.exe modified: src/lib/16_mm.c --- exmmtest.exe | Bin 45245 -> 45245 bytes src/lib/16_mm.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/exmmtest.exe b/exmmtest.exe index a5e3007406184028a34eba9c03c8d5585a68cb50..42dba971abb5187246f3dc8718b65b51c34d1281 100644 GIT binary patch delta 16 Ycmdn{kZJEjrVZ^pj4Ycwcubc706@~ delta 16 Ycmdn{kZJEjrVZ^pjEtK*cubc706;?qrT_o{ diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 3fad748b..d39e2683 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -566,7 +566,7 @@ void MM_Startup(mminfo_t *mm, mminfotype *mmi) _fheapgrow(); length=_memavl(); //length-=farlen; - start = mm->farheap = halloc(length, 1); + start = mm->farheap = halloc(length, sizeof(length)); //start = mm->farheap = _fmalloc(length); length -= 16-(FP_OFF(start)&15); length -= SAVEFARHEAP; -- 2.39.5