Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 97acea9c1fd82f2b5fc5074815b46e886f1e6eac..8ec267a61003cf4e158b2ba9b5976bd68d0ccbee 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -801,7 +801,7 @@ void Logger::UncheckedIntPtrTEvent(const char* name, intptr_t value) { |
void Logger::HandleEvent(const char* name, Object** location) { |
if (!log_->IsEnabled() || !FLAG_log_handles) return; |
Log::MessageBuilder msg(log_); |
- msg.Append("%s,%p", name, location); |
+ msg.Append("%s,%p", name, static_cast<void*>(location)); |
msg.WriteToLogFile(); |
} |