From 0d9e4c323492759a87e0ee718e39f3dedb9f0ae5 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 22 Oct 2015 22:33:45 -0400 Subject: [PATCH] Bugfix --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index 37752593..f0776323 100644 --- a/gc.c +++ b/gc.c @@ -34,9 +34,9 @@ printf("DEBUG h->data addr: %p\n", h->data); next->next = NULL; //#if GC_DEBUG_PRINTFS fprintf(stderr, ("heap: %p-%p data: %p-%p"), - h, ((char*)h)+sexp_heap_pad_size(size), h->data, h->data + size); + h, ((char*)h)+gc_heap_pad_size(size), h->data, h->data + size); fprintf(stderr, ("first: %p end: %p"), - (object)sexp_heap_first_block(h), (object)sexp_heap_end(h)); + (object)gc_heap_first_block(h), (object)gc_heap_end(h)); fprintf(stderr, ("free1: %p-%p free2: %p-%p"), free, ((char*)free)+free->size, next, ((char*)next)+next->size); //#endif