Index: src/log-utils.cc |
diff --git a/src/log-utils.cc b/src/log-utils.cc |
index a83a0aed568d7b5e6407bb3e430cc7c3c13f3189..4c67afba31ef2f06ca0977caf3af75c4316b0552 100644 |
--- a/src/log-utils.cc |
+++ b/src/log-utils.cc |
@@ -164,7 +164,9 @@ void Log::MessageBuilder::Append(String* str) { |
} |
} |
-void Log::MessageBuilder::AppendAddress(Address addr) { Append("%p", addr); } |
+void Log::MessageBuilder::AppendAddress(Address addr) { |
+ Append("%p", static_cast<void*>(addr)); |
+} |
void Log::MessageBuilder::AppendSymbolName(Symbol* symbol) { |
DCHECK(symbol); |