aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/GC
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/GC')
-rw-r--r--runtime/GC/SemiSpace/semispace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/GC/SemiSpace/semispace.c b/runtime/GC/SemiSpace/semispace.c
index a005a48..df60b62 100644
--- a/runtime/GC/SemiSpace/semispace.c
+++ b/runtime/GC/SemiSpace/semispace.c
@@ -75,7 +75,7 @@ static void* llvm_gc_alloc_slow(unsigned Size) {
static void process_pointer(void **Root, void *Meta) {
- printf("process_root[0x%X] = 0x%X\n", (unsigned) Root, (unsigned) *Root);
+ printf("process_root[0x%p] = 0x%p\n", (void*) Root, (void*) *Root);
}
void llvm_gc_collect() {