Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 875c20e6d61a22139f40e9ab805057cbd029ad79..12a54b2efad01224c50c2225a1b451fb1b6688dc 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10913,7 +10913,7 @@ void Code::Disassemble(const char* name, std::ostream& os) { // NOLINT |
os << "Safepoints (size = " << table.size() << ")\n"; |
for (unsigned i = 0; i < table.length(); i++) { |
unsigned pc_offset = table.GetPcOffset(i); |
- os << (instruction_start() + pc_offset) << " "; |
+ os << static_cast<const void*>(instruction_start() + pc_offset) << " "; |
// TODO(svenpanne) Add some basic formatting to our streams. |
Vector<char> buf1 = Vector<char>::New(30); |
SNPrintF(buf1, "%4d", pc_offset); |