Skip to content
Snippets Groups Projects
Commit dea3fb93 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/gc: In sweep debug output, print pointer as a pointer.

Or it will be truncated on a 64-bit platform.
parent 5453d88d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment