From: Rui Ueyama Date: Fri, 4 Apr 2014 01:22:51 +0000 (+0000) Subject: SymbolTable::size() returns an unsigned int. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=992fdc0785462f69917308b9436f39b0c4bb0516;p=platform%2Fupstream%2Fllvm.git SymbolTable::size() returns an unsigned int. It's better to use the same type rather than a fixed width integer type that may be different from the return type. llvm-svn: 205597 --- diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp index f914a8e..cd95b6b 100644 --- a/lld/lib/Core/Resolver.cpp +++ b/lld/lib/Core/Resolver.cpp @@ -71,7 +71,7 @@ void Resolver::handleFile(const File &file) { void Resolver::forEachUndefines(bool searchForOverrides, UndefCallback callback) { // Handle normal archives - int64_t undefineGenCount = 0; + unsigned undefineGenCount = 0; do { undefineGenCount = _symbolTable.size(); for (const UndefinedAtom *undefAtom : _symbolTable.undefines()) {