summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Core/Listener.cpp4
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Core/Listener.cpp b/lldb/source/Core/Listener.cpp
index 32ca1f0cebb..7c862db1b14 100644
--- a/lldb/source/Core/Listener.cpp
+++ b/lldb/source/Core/Listener.cpp
@@ -60,7 +60,7 @@ Listener::~Listener()
Clear();
if (log)
- log->Printf("%p Listener::%s('%s')", this, __FUNCTION__, m_name.c_str());
+ log->Printf("%p Listener::%s('%s')", static_cast<void *>(this), __FUNCTION__, m_name.c_str());
}
void
@@ -89,7 +89,7 @@ Listener::Clear()
}
if (log)
- log->Printf("%p Listener::%s('%s')", this, __FUNCTION__, m_name.c_str());
+ log->Printf("%p Listener::%s('%s')", static_cast<void *>(this), __FUNCTION__, m_name.c_str());
}
uint32_t
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index f5444ace8a0..d9d551421f4 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -3678,7 +3678,7 @@ ProcessGDBRemote::MonitorDebugserverProcess(std::weak_ptr<ProcessGDBRemote> proc
std::shared_ptr<ProcessGDBRemote> process_sp = process_wp.lock();
if (log)
- log->Printf("ProcessGDBRemote::%s(process = %p)", __FUNCTION__, process_sp.get());
+ log->Printf("ProcessGDBRemote::%s(process = %p)", __FUNCTION__, static_cast<void *>(process_sp.get()));
if (!process_sp || process_sp->m_debugserver_pid != debugserver_pid)
return handled;
OpenPOWER on IntegriCloud