[llvm] r224368 - Fix another use of PRIx32 that should have been PRIx64.
Kevin Enderby
enderby at apple.com
Tue Dec 16 13:00:25 PST 2014
Author: enderby
Date: Tue Dec 16 15:00:25 2014
New Revision: 224368
URL: http://llvm.org/viewvc/llvm-project?rev=224368&view=rev
Log:
Fix another use of PRIx32 that should have been PRIx64.
Modified:
llvm/trunk/tools/llvm-objdump/MachODump.cpp
Modified: llvm/trunk/tools/llvm-objdump/MachODump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/MachODump.cpp?rev=224368&r1=224367&r2=224368&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Tue Dec 16 15:00:25 2014
@@ -3103,8 +3103,8 @@ static void PrintSection(const char *sec
outs() << " addr " << format("0x%016" PRIx64, addr) << "\n";
outs() << " size " << format("0x%016" PRIx64, size);
} else {
- outs() << " addr " << format("0x%08" PRIx32, addr) << "\n";
- outs() << " size " << format("0x%08" PRIx32, size);
+ outs() << " addr " << format("0x%08" PRIx64, addr) << "\n";
+ outs() << " size " << format("0x%08" PRIx64, size);
}
if ((flags & MachO::S_ZEROFILL) != 0 && offset + size > object_size)
outs() << " (past end of file)\n";
More information about the llvm-commits
mailing list