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:
parent
c351ed2966
commit
992fdc0785
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue