[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 03dfa379facf45028150f3c7b141eba96d8eae23..7dc47be8a03eeb209d2a8129fa0bccd716c67d83 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>