OSDN Git Service

[llvm-readobj] Fix compile error.
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 18 Jun 2014 09:23:55 +0000 (09:23 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 18 Jun 2014 09:23:55 +0000 (09:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211151 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/ELFDumper.cpp

index 03dfa37..7dc47be 100644 (file)
@@ -1140,7 +1140,7 @@ void MipsGOTParser<ELFT>::ParseGOT(const Elf_Shdr &GOTShdr) {
   }
 
   std::size_t SpecGotNum = GetGOTTotal(*GOT) - DtLocalGotNum - GlobalGotNum;
-  W.printNumber("Number of TLS and multi-GOT entries", SpecGotNum);
+  W.printNumber("Number of TLS and multi-GOT entries", uint64_t(SpecGotNum));
 }
 
 template <class ELFT>