tools: use 64-bit print specifier
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 21 Jan 2014 04:31:29 +0000 (04:31 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 21 Jan 2014 04:31:29 +0000 (04:31 +0000)
Try to repair the ARM Cortex-A15 buildbot by using a more appropriate conversion
specifier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199711 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/ARMEHABIPrinter.h

index 6a56373e26b3d0428e53f391365ea7052c6fb0fb..fae3b6d894a35f7e6c613dca128a3773e8eee92b 100644 (file)
@@ -176,7 +176,7 @@ void OpcodeDecoder::Decode_10110010_uleb128(const uint8_t *Opcodes,
   for (unsigned BI = 0, BE = ULEB.size(); BI != BE; ++BI)
     Value = Value | ((ULEB[BI] & 0x7f) << (7 * BI));
 
-  OS << format("; vsp = vsp + %u\n", 0x204 + (Value << 2));
+  OS << format("; vsp = vsp + %" PRIu64 "\n", 0x204 + (Value << 2));
 }
 void OpcodeDecoder::Decode_10110011_sssscccc(const uint8_t *Opcodes,
                                              unsigned &OI) {