Skip to content

Commit f5e0db1

Browse files
committed
Use PRIx64 for format output of uint64_t as hex
1 parent d6d9b54 commit f5e0db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/tools/llvm-readobj/ELFDumper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5165,8 +5165,8 @@ static bool printAArch64PAuthABICoreInfo(raw_ostream &OS, uint32_t DataSize,
51655165
return Desc;
51665166
}();
51675167

5168-
OS << format("platform 0x%x (%s), version 0x%x", Platform, PlatformDesc,
5169-
Version);
5168+
OS << format("platform 0x%" PRIx64 " (%s), version 0x%" PRIx64, Platform,
5169+
PlatformDesc, Version);
51705170
if (!VersionDesc.empty())
51715171
OS << format(" (%s)", VersionDesc.c_str());
51725172

0 commit comments

Comments
 (0)