Index: runtime/vm/heap_profiler.cc |
diff --git a/runtime/vm/heap_profiler.cc b/runtime/vm/heap_profiler.cc |
index 704309da83a7036922f423f89b616328fd4ae971..e5950675a761c9ce459d2f1cb662e288ef60bf4b 100644 |
--- a/runtime/vm/heap_profiler.cc |
+++ b/runtime/vm/heap_profiler.cc |
@@ -701,7 +701,7 @@ void HeapProfilerRootVisitor::VisitPointers(RawObject** first, |
uword obj_addr = RawObject::ToAddr(raw_obj); |
if (!Isolate::Current()->heap()->Contains(obj_addr) && |
!Dart::vm_isolate()->heap()->Contains(obj_addr)) { |
- FATAL1("Invalid object pointer encountered 0x%lx\n", obj_addr); |
+ FATAL1("Invalid object pointer encountered %#"Px"\n", obj_addr); |
} |
} |
profiler_->WriteRoot(raw_obj); |