Fix another use of PRIx32 that should have been PRIx64.
authorKevin Enderby <enderby@apple.com>
Tue, 16 Dec 2014 21:00:25 +0000 (21:00 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 16 Dec 2014 21:00:25 +0000 (21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224368 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objdump/MachODump.cpp

index 1750ae4e1eb4a98e7ed60bc8dce467761212148c..e0203ba12662e33fae91d60b52660ca0e69fcff0 100644 (file)
@@ -3103,8 +3103,8 @@ static void PrintSection(const char *sectname, const char *segname,
     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";