Fix signed-compare warning.

Introduced in my c90dac27e9.
This commit is contained in:
Justin Lebar 2021-02-25 18:14:40 -08:00
parent c47aa3c8de
commit e890fffcab
No known key found for this signature in database
GPG Key ID: 13778D367B90F8BF
1 changed files with 2 additions and 2 deletions

View File

@ -2308,8 +2308,8 @@ bool Sema::tryExprAsCall(Expr &E, QualType &ZeroArgCallReturnTy,
/// ill-formed expression.
static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads,
const SourceLocation FinalNoteLoc) {
int ShownOverloads = 0;
int SuppressedOverloads = 0;
unsigned ShownOverloads = 0;
unsigned SuppressedOverloads = 0;
for (UnresolvedSetImpl::iterator It = Overloads.begin(),
DeclsEnd = Overloads.end(); It != DeclsEnd; ++It) {
if (ShownOverloads >= S.Diags.getNumOverloadCandidatesToShow()) {