OSDN Git Service

wwww
authorsparky4 <sparky4@cock.li>
Fri, 3 Jul 2015 07:37:33 +0000 (02:37 -0500)
committersparky4 <sparky4@cock.li>
Fri, 3 Jul 2015 07:37:33 +0000 (02:37 -0500)
modified:   src/lib/16_mm.c

src/lib/16_mm.c

index 383ec66..66da471 100644 (file)
@@ -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;