[llvm] r211151 - [llvm-readobj] Fix compile error.
Simon Atanasyan
simon at atanasyan.com
Wed Jun 18 02:23:56 PDT 2014
Author: atanasyan
Date: Wed Jun 18 04:23:55 2014
New Revision: 211151
URL: http://llvm.org/viewvc/llvm-project?rev=211151&view=rev
Log:
[llvm-readobj] Fix compile error.
Modified:
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=211151&r1=211150&r2=211151&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Wed Jun 18 04:23:55 2014
@@ -1140,7 +1140,7 @@ void MipsGOTParser<ELFT>::ParseGOT(const
}
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>
More information about the llvm-commits
mailing list