[Remarks] Update error message format string

All the clang-cmake-armv{7,8} bots are failing this test. This is an
attempt to fix this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Francis Visoiu Mistrih
2019-07-29 17:40:34 +00:00
parent 48cc4c716b
commit 4815acbbff

View File

@@ -76,10 +76,10 @@ static Expected<uint64_t> parseVersion(StringRef &Buf) {
support::endian::read<uint64_t, support::little, support::unaligned>(
Buf.data());
if (Version != remarks::Version)
return createStringError(
std::errc::illegal_byte_sequence,
"Mismatching remark version. Got %u, expected %u.", Version,
remarks::Version);
return createStringError(std::errc::illegal_byte_sequence,
"Mismatching remark version. Got %" PRId64
", expected %" PRId64 ".",
Version, remarks::Version);
Buf = Buf.drop_front(sizeof(uint64_t));
return Version;
}