summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBDebugger.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-09-18 18:04:04 +0000
committerGreg Clayton <gclayton@apple.com>2012-09-18 18:04:04 +0000
commit43e0af06b4b69d784c87c4bfcaea01d825de1e65 (patch)
tree940b1223e3317439d1cbbd6e59f0421904d90c46 /lldb/source/API/SBDebugger.cpp
parent402edbbe3918277bfedbd9f138c16ac515d8d9ef (diff)
downloadbcm5719-llvm-43e0af06b4b69d784c87c4bfcaea01d825de1e65.tar.gz
bcm5719-llvm-43e0af06b4b69d784c87c4bfcaea01d825de1e65.zip
Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification.
llvm-svn: 164148
Diffstat (limited to 'lldb/source/API/SBDebugger.cpp')
-rw-r--r--lldb/source/API/SBDebugger.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index 194e48c314c..ca39d2a80d6 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -805,8 +805,11 @@ SBDebugger::DispatchInput (const void *data, size_t data_len)
LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
if (log)
- log->Printf ("SBDebugger(%p)::DispatchInput (data=\"%.*s\", size_t=%zu)", m_opaque_sp.get(),
- (int) data_len, (const char *) data, data_len);
+ log->Printf ("SBDebugger(%p)::DispatchInput (data=\"%.*s\", size_t=%llu)",
+ m_opaque_sp.get(),
+ (int) data_len,
+ (const char *) data,
+ (uint64_t)data_len);
if (m_opaque_sp)
m_opaque_sp->DispatchInput ((const char *) data, data_len);
OpenPOWER on IntegriCloud