* src/mm/boehm.c (heap_alloc_uncollectable): Fixed typo.
[cacao.git] / src / mm / boehm.c
index a358090edeb13ae44e25e440cdf337625c10d672..c2bf56307c1d8fea31fcee50e8958dbb663be940 100644 (file)
@@ -22,7 +22,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: boehm.c 8245 2007-07-31 09:55:04Z michi $
+   $Id: boehm.c 8371 2007-08-20 22:05:08Z michi $
 
 */
 
@@ -124,7 +124,7 @@ void *heap_alloc_uncollectable(u4 size)
 
        /* clear allocated memory region */
 
-       MSET(p, 0, u1, bytelength);
+       MSET(p, 0, u1, size);
 
        return p;
 }