Index: src/arm/disasm-arm.cc |
diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc |
index 0b8fee10f4d2af83e8e04f2b26280893b073252a..8c336c1efebe3d5f45d0fc2b7f4a95465bf44024 100644 |
--- a/src/arm/disasm-arm.cc |
+++ b/src/arm/disasm-arm.cc |
@@ -686,7 +686,8 @@ int Decoder::FormatOption(Instruction* instr, const char* format) { |
return -1; |
} |
} |
- out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%p", addr); |
+ out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%p", |
+ static_cast<void*>(addr)); |
return 1; |
} |
case 'S': |