Author: gclayton Date: Mon Aug 8 17:16:03 2016 New Revision: 278061 URL: http://llvm.org/viewvc/llvm-project?rev=278061&view=rev Log: Fix printf warnings.
Modified: lldb/trunk/source/Plugins/Process/elf-core/ThreadElfCore.cpp Modified: lldb/trunk/source/Plugins/Process/elf-core/ThreadElfCore.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/elf-core/ThreadElfCore.cpp?rev=278061&r1=278060&r2=278061&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/elf-core/ThreadElfCore.cpp (original) +++ lldb/trunk/source/Plugins/Process/elf-core/ThreadElfCore.cpp Mon Aug 8 17:16:03 2016 @@ -230,7 +230,7 @@ ELFLinuxPrStatus::Parse(DataExtractor &d 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 &d 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; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits