aboutsummaryrefslogtreecommitdiff
path: root/source/Core/AddressRange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/AddressRange.cpp')
-rw-r--r--source/Core/AddressRange.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/Core/AddressRange.cpp b/source/Core/AddressRange.cpp
index 835a01d82aa4..3505d56b43e2 100644
--- a/source/Core/AddressRange.cpp
+++ b/source/Core/AddressRange.cpp
@@ -196,7 +196,10 @@ AddressRange::Dump(Stream *s, Target *target, Address::DumpStyle style, Address:
void
AddressRange::DumpDebug (Stream *s) const
{
- s->Printf("%p: AddressRange section = %p, offset = 0x%16.16" PRIx64 ", byte_size = 0x%16.16" PRIx64 "\n", this, m_base_addr.GetSection().get(), m_base_addr.GetOffset(), GetByteSize());
+ s->Printf("%p: AddressRange section = %p, offset = 0x%16.16" PRIx64 ", byte_size = 0x%16.16" PRIx64 "\n",
+ static_cast<const void*>(this),
+ static_cast<void*>(m_base_addr.GetSection().get()),
+ m_base_addr.GetOffset(), GetByteSize());
}
//
//bool