diff options
Diffstat (limited to 'lld')
-rw-r--r-- | lld/COFF/SymbolTable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp index 6b07c352688..b80a9fd607b 100644 --- a/lld/COFF/SymbolTable.cpp +++ b/lld/COFF/SymbolTable.cpp @@ -189,7 +189,7 @@ void SymbolTable::reportRemainingUndefines() { } for (ObjFile *File : ObjFile::Instances) { - size_t SymIndex = -1ull; + size_t SymIndex = size_t{0} - 1; for (Symbol *Sym : File->getSymbols()) { ++SymIndex; if (!Sym) |