aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-16 21:40:32 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-16 21:40:32 +0000
commit66291f39be6407c582cf2deacb53af86e2705067 (patch)
tree7e1d321d00a0bc0a5fe2ea9797c5fb6fef2897e2
parentbebde759e51bcae46adcc4b6ea328b2355495b61 (diff)
downloadexternal_llvm-66291f39be6407c582cf2deacb53af86e2705067.zip
external_llvm-66291f39be6407c582cf2deacb53af86e2705067.tar.gz
external_llvm-66291f39be6407c582cf2deacb53af86e2705067.tar.bz2
Fix warning on 64-bit machines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14902 91177308-0d34-0410-b5e6-96231b3b80d8
-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() {