aboutsummaryrefslogtreecommitdiff
path: root/source/API/SBAddress.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2014-11-25 21:00:58 +0000
committerEd Maste <emaste@FreeBSD.org>2014-11-25 21:00:58 +0000
commit0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch)
treec94307da318be46e5aeea1a325c1e91749506e4f /source/API/SBAddress.cpp
parent03b99097822ca3ac69252d9afae716a584ed56c4 (diff)
Diffstat (limited to 'source/API/SBAddress.cpp')
-rw-r--r--source/API/SBAddress.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/API/SBAddress.cpp b/source/API/SBAddress.cpp
index 799c90907634..6aec0722169f 100644
--- a/source/API/SBAddress.cpp
+++ b/source/API/SBAddress.cpp
@@ -127,13 +127,15 @@ SBAddress::GetLoadAddress (const SBTarget &target) const
addr = m_opaque_ap->GetLoadAddress (target_sp.get());
}
}
-
+
if (log)
{
if (addr == LLDB_INVALID_ADDRESS)
- log->Printf ("SBAddress::GetLoadAddress (SBTarget(%p)) => LLDB_INVALID_ADDRESS", target_sp.get());
+ log->Printf ("SBAddress::GetLoadAddress (SBTarget(%p)) => LLDB_INVALID_ADDRESS",
+ static_cast<void*>(target_sp.get()));
else
- log->Printf ("SBAddress::GetLoadAddress (SBTarget(%p)) => 0x%" PRIx64, target_sp.get(), addr);
+ log->Printf ("SBAddress::GetLoadAddress (SBTarget(%p)) => 0x%" PRIx64,
+ static_cast<void*>(target_sp.get()), addr);
}
return addr;