diff options
author | Greg Clayton <gclayton@apple.com> | 2016-08-08 22:16:03 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2016-08-08 22:16:03 +0000 |
commit | 52930b5f4acb2eba288bf4b2cf2cdd499524adb0 (patch) | |
tree | d1860ec169f9d373835b9ba4a60dae6528fdf9b9 /lldb/source/Plugins | |
parent | 1386c6ceaeb9e2f63c28235d5b94d8b83d88fded (diff) | |
download | bcm5719-llvm-52930b5f4acb2eba288bf4b2cf2cdd499524adb0.tar.gz bcm5719-llvm-52930b5f4acb2eba288bf4b2cf2cdd499524adb0.zip |
Fix printf warnings.
llvm-svn: 278061
Diffstat (limited to 'lldb/source/Plugins')
-rw-r--r-- | lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp b/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp index 5ad24e45e5c..29f37b6f88f 100644 --- a/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp +++ b/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp @@ -230,7 +230,7 @@ ELFLinuxPrStatus::Parse(DataExtractor &data, ArchSpec &arch) ByteOrder byteorder = data.GetByteOrder(); if (GetSize(arch) > data.GetByteSize()) { - error.SetErrorStringWithFormat("NT_PRSTATUS size should be %lu, but the remaining bytes are: %lu", + error.SetErrorStringWithFormat("NT_PRSTATUS size should be %lu, but the remaining bytes are: %" PRIu64, GetSize(arch), data.GetByteSize()); return error; } @@ -299,7 +299,7 @@ ELFLinuxPrPsInfo::Parse(DataExtractor &data, ArchSpec &arch) ByteOrder byteorder = data.GetByteOrder(); if (GetSize(arch) > data.GetByteSize()) { - error.SetErrorStringWithFormat("NT_PRPSINFO size should be %lu, but the remaining bytes are: %lu", + error.SetErrorStringWithFormat("NT_PRPSINFO size should be %lu, but the remaining bytes are: %" PRIu64, GetSize(arch), data.GetByteSize()); return error; } |