From: Greg Clayton Date: Mon, 8 Aug 2016 22:16:03 +0000 (+0000) Subject: Fix printf warnings. X-Git-Tag: llvmorg-4.0.0-rc1~13020 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52930b5f4acb2eba288bf4b2cf2cdd499524adb0;p=platform%2Fupstream%2Fllvm.git Fix printf warnings. llvm-svn: 278061 --- diff --git a/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp b/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp index 5ad24e4..29f37b6 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; }