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/Plugins/Process/gdb-remote/GDBRemoteCommunication.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/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 0712ed4e1f7..d1102b7e6ac 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -298,12 +298,12 @@ GDBRemoteCommunication::WaitForPacketWithTimeoutMicroSecondsNoLock (StringExtrac size_t bytes_read = Read (buffer, sizeof(buffer), timeout_usec, status, &error); if (log) - log->Printf ("%s: Read (buffer, (sizeof(buffer), timeout_usec = 0x%x, status = %s, error = %s) => bytes_read = %zu", + log->Printf ("%s: Read (buffer, (sizeof(buffer), timeout_usec = 0x%x, status = %s, error = %s) => bytes_read = %llu", __PRETTY_FUNCTION__, timeout_usec, Communication::ConnectionStatusAsCString (status), error.AsCString(), - bytes_read); + (uint64_t)bytes_read); if (bytes_read > 0) { |