InterfaceMapIterator it = this->IterateInterfaceMap();
CQuickArray<MatchCandidate> candidates;
- int candidatesCount = 0;
+ unsigned candidatesCount = 0;
candidates.AllocThrows(this->GetNumInterfaces());
//
// We need to maintain the invariant that the candidates are always the most specific
// in all path scaned so far. There might be multiple incompatible candidates
- for (int i = 0; i < candidatesCount; ++i)
+ for (unsigned i = 0; i < candidatesCount; ++i)
{
MethodTable *pCandidateMT = candidates[i].pMT;
if (pCandidateMT == NULL)
// scan to see if there are any conflicts
MethodTable *pBestCandidateMT = NULL;
MethodDesc *pBestCandidateMD = NULL;
- for (int i = 0; i < candidatesCount; ++i)
+ for (unsigned i = 0; i < candidatesCount; ++i)
{
if (candidates[i].pMT == NULL)
continue;