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
This commit is contained in:
Rui Ueyama 2014-04-04 01:22:51 +00:00
parent c351ed2966
commit 992fdc0785
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {