From 992fdc0785462f69917308b9436f39b0c4bb0516 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 4 Apr 2014 01:22:51 +0000 Subject: [PATCH] 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 --- lld/lib/Core/Resolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.7.4