From 66291f39be6407c582cf2deacb53af86e2705067 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 16 Jul 2004 21:40:32 +0000 Subject: Fix warning on 64-bit machines git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14902 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/GC/SemiSpace/semispace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.1