diff options
author | Greg Clayton <gclayton@apple.com> | 2012-09-18 18:04:04 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-09-18 18:04:04 +0000 |
commit | 43e0af06b4b69d784c87c4bfcaea01d825de1e65 (patch) | |
tree | 940b1223e3317439d1cbbd6e59f0421904d90c46 /lldb/source/Target/Process.cpp | |
parent | 402edbbe3918277bfedbd9f138c16ac515d8d9ef (diff) | |
download | bcm5719-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/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index 88d08cf28a3..4ad52a29677 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -3920,7 +3920,7 @@ Process::GetSTDOUT (char *buf, size_t buf_size, Error &error) { LogSP log (lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_PROCESS)); if (log) - log->Printf ("Process::GetSTDOUT (buf = %p, size = %zu)", buf, buf_size); + log->Printf ("Process::GetSTDOUT (buf = %p, size = %llu)", buf, (uint64_t)buf_size); if (bytes_available > buf_size) { memcpy(buf, m_stdout_data.c_str(), buf_size); @@ -3946,7 +3946,7 @@ Process::GetSTDERR (char *buf, size_t buf_size, Error &error) { LogSP log (lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_PROCESS)); if (log) - log->Printf ("Process::GetSTDERR (buf = %p, size = %zu)", buf, buf_size); + log->Printf ("Process::GetSTDERR (buf = %p, size = %llu)", buf, (uint64_t)buf_size); if (bytes_available > buf_size) { memcpy(buf, m_stderr_data.c_str(), buf_size); |