From: sparky4 Date: Thu, 2 Jul 2015 20:56:44 +0000 (-0500) Subject: I am legit stuck! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=e5af3bee158ea36562d08ef0e1b587ed0ed5ec3c;p=16.git I am legit stuck! modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/exmmtest.exe b/exmmtest.exe index a5e30074..42dba971 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ 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;