Fix printf warnings.
authorGreg Clayton <gclayton@apple.com>
Mon, 8 Aug 2016 22:16:03 +0000 (22:16 +0000)
committerGreg Clayton <gclayton@apple.com>
Mon, 8 Aug 2016 22:16:03 +0000 (22:16 +0000)
llvm-svn: 278061

lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp

index 5ad24e4..29f37b6 100644 (file)
@@ -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;
     }