From: sparky4 Date: Fri, 3 Jul 2015 07:37:33 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=002ac4d6351dcadf952b52baf3c04b51e6722b15;p=16.git wwww modified: src/lib/16_mm.c --- diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 383ec662..66da4714 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -583,7 +583,7 @@ void MM_Startup(mminfo_t *mm, mminfotype *mmi) _fheapgrow(); length=_memavl(); //length-=farlen; - start = mm->farheap = halloc(length, sizeof(length)); + start = mm->farheap = halloc(length, sizeof(dword)); //start = mm->farheap = _fmalloc(length); length -= 16-(FP_OFF(start)&15); length -= SAVEFARHEAP;