diff options
| author | Sean Callanan <scallanan@apple.com> | 2015-05-01 00:44:36 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2015-05-01 00:44:36 +0000 |
| commit | 09b41c0785a97573660744907ea2d2ffc389bc21 (patch) | |
| tree | 8e5304da19d624a53988bab60327d600293a0ced | |
| parent | b0707833a13b7bdab6662f50528b082e66aeb0fa (diff) | |
| download | bcm5719-llvm-09b41c0785a97573660744907ea2d2ffc389bc21.tar.gz bcm5719-llvm-09b41c0785a97573660744907ea2d2ffc389bc21.zip | |
Fixed some compiler warnings because of bit-width
mismatches.
llvm-svn: 236295
| -rw-r--r-- | lldb/source/Host/common/NativeRegisterContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Host/common/NativeRegisterContext.cpp b/lldb/source/Host/common/NativeRegisterContext.cpp index b83f9865765..54e47a5479b 100644 --- a/lldb/source/Host/common/NativeRegisterContext.cpp +++ b/lldb/source/Host/common/NativeRegisterContext.cpp @@ -375,7 +375,7 @@ NativeRegisterContext::ReadRegisterValueFromMemory ( if (src_len > dst_len) { - error.SetErrorStringWithFormat("%" PRIu64 " bytes is too big to store in register %s (%" PRIu64 " bytes)", src_len, reg_info->name, dst_len); + error.SetErrorStringWithFormat("%" PRIu64 " bytes is too big to store in register %s (%" PRIu64 " bytes)", (unsigned long long)src_len, reg_info->name, (unsigned long long)dst_len); return error; } @@ -398,7 +398,7 @@ NativeRegisterContext::ReadRegisterValueFromMemory ( if (bytes_read != src_len) { // This might happen if we read _some_ bytes but not all - error.SetErrorStringWithFormat("read %" PRIu64 " of %" PRIu64 " bytes", bytes_read, src_len); + error.SetErrorStringWithFormat("read %" PRIu64 " of %" PRIu64 " bytes", (unsigned long long)bytes_read, (unsigned long long)src_len); return error; } @@ -470,7 +470,7 @@ NativeRegisterContext::WriteRegisterValueToMemory ( if (bytes_written != bytes_copied) { // This might happen if we read _some_ bytes but not all - error.SetErrorStringWithFormat("only wrote %" PRIu64 " of %" PRIu64 " bytes", bytes_written, bytes_copied); + error.SetErrorStringWithFormat("only wrote %" PRIu64 " of %" PRIu64 " bytes", (unsigned long long)bytes_written, (unsigned long long)bytes_copied); } } } |

