summaryrefslogtreecommitdiff
path: root/py/gc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-10 18:16:21 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-10 18:16:21 +0100
commit0fb80c303a2685372fe93ff23cecad9f7dfc67fe (patch)
treeaee53be5aeede7dff6a27e21a1192cd9f44046a8 /py/gc.c
parent9597771fe4c0aa42f20514d7315e706bf6dc51cf (diff)
py: Compress a little the bytecode emitter structure.
Diffstat (limited to 'py/gc.c')
-rw-r--r--py/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/gc.c b/py/gc.c
index b646e8cbd..87c458f82 100644
--- a/py/gc.c
+++ b/py/gc.c
@@ -113,7 +113,7 @@ STATIC machine_uint_t gc_lock_depth;
void gc_init(void *start, void *end) {
// align end pointer on block boundary
end = (void*)((machine_uint_t)end & (~(BYTES_PER_BLOCK - 1)));
- DEBUG_printf("Initializing GC heap: %p..%p = %ld bytes\n", start, end, end - start);
+ DEBUG_printf("Initializing GC heap: %p..%p = " UINT_FMT " bytes\n", start, end, end - start);
// calculate parameters for GC (T=total, A=alloc table, F=finaliser table, P=pool; all in bytes):
// T = A + F + P