Index: src/profiler/allocation-tracker.cc |
diff --git a/src/profiler/allocation-tracker.cc b/src/profiler/allocation-tracker.cc |
index 6acd1917aafae60872b9c74f5e7206e54f0cee09..cd095e3e24a17be833f0236f20de0b8343ce06f3 100644 |
--- a/src/profiler/allocation-tracker.cc |
+++ b/src/profiler/allocation-tracker.cc |
@@ -151,8 +151,8 @@ void AddressToTraceMap::Clear() { |
void AddressToTraceMap::Print() { |
PrintF("[AddressToTraceMap (%" PRIuS "): \n", ranges_.size()); |
for (RangeMap::iterator it = ranges_.begin(); it != ranges_.end(); ++it) { |
- PrintF("[%p - %p] => %u\n", it->second.start, it->first, |
- it->second.trace_node_id); |
+ PrintF("[%p - %p] => %u\n", static_cast<void*>(it->second.start), |
+ static_cast<void*>(it->first), it->second.trace_node_id); |
} |
PrintF("]\n"); |
} |