diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-09 01:54:01 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-09 01:54:01 +0200 |
commit | dea3fb93c74ae61dc5168b62a780dc6ce7865e09 (patch) | |
tree | 8957840d44a20aad2949e7277829bf434ee2f3de /py | |
parent | 5453d88d5db94e686cf26930e88a5e20fd21d8f8 (diff) |
py/gc: In sweep debug output, print pointer as a pointer.
Or it will be truncated on a 64-bit platform.
Diffstat (limited to 'py')
-rw-r--r-- | py/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -289,7 +289,7 @@ STATIC void gc_sweep(void) { } #endif free_tail = 1; - DEBUG_printf("gc_sweep(%x)\n", PTR_FROM_BLOCK(block)); + DEBUG_printf("gc_sweep(%p)\n", PTR_FROM_BLOCK(block)); #if MICROPY_PY_GC_COLLECT_RETVAL MP_STATE_MEM(gc_collected)++; #endif |