summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/runtime/GC/SemiSpace/semispace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtime/GC/SemiSpace/semispace.c b/llvm/runtime/GC/SemiSpace/semispace.c
index 3792f861d44..93327edc88a 100644
--- a/llvm/runtime/GC/SemiSpace/semispace.c
+++ b/llvm/runtime/GC/SemiSpace/semispace.c
@@ -86,7 +86,7 @@ static void* llvm_gc_alloc_slow(unsigned Size) {
static void process_root(void **Root, void *Meta) {
- printf("process_root[0x%X] = 0x%X\n", Root, *Root);
+ printf("process_root[0x%X] = 0x%X\n", (unsigned) Root, (unsigned) *Root);
}
void llvm_gc_collect() {
OpenPOWER on IntegriCloud