diff options
Diffstat (limited to 'src/debug/di')
-rw-r--r-- | src/debug/di/module.cpp | 4 | ||||
-rw-r--r-- | src/debug/di/rsclass.cpp | 4 | ||||
-rw-r--r-- | src/debug/di/rstype.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/debug/di/module.cpp b/src/debug/di/module.cpp index 1263e710e4..5fb335e6d5 100644 --- a/src/debug/di/module.cpp +++ b/src/debug/di/module.cpp @@ -4460,7 +4460,7 @@ HRESULT CordbNativeCode::EnumerateVariableHomes(ICorDebugVariableHomeEnum **ppEn const DacDbiArrayList<ICorDebugInfo::NativeVarInfo> *pOffsetInfoList = m_nativeVarData.GetOffsetInfoList(); _ASSERTE(pOffsetInfoList != NULL); DWORD countHomes = 0; - for (int i = 0; i < pOffsetInfoList->Count(); i++) + for (unsigned int i = 0; i < pOffsetInfoList->Count(); i++) { const ICorDebugInfo::NativeVarInfo *pNativeVarInfo = &((*pOffsetInfoList)[i]); _ASSERTE(pNativeVarInfo != NULL); @@ -4477,7 +4477,7 @@ HRESULT CordbNativeCode::EnumerateVariableHomes(ICorDebugVariableHomeEnum **ppEn rsHomes = new RSSmartPtr<CordbVariableHome>[countHomes]; DWORD varHomeInd = 0; - for (int i = 0; i < pOffsetInfoList->Count(); i++) + for (unsigned int i = 0; i < pOffsetInfoList->Count(); i++) { const ICorDebugInfo::NativeVarInfo *pNativeVarInfo = &((*pOffsetInfoList)[i]); diff --git a/src/debug/di/rsclass.cpp b/src/debug/di/rsclass.cpp index bfd02c75ec..662e2c0cd6 100644 --- a/src/debug/di/rsclass.cpp +++ b/src/debug/di/rsclass.cpp @@ -808,7 +808,7 @@ void CordbClass::Init(ClassLoadLevel desiredLoadLevel) BOOL CordbClass::GotUnallocatedStatic(DacDbiArrayList<FieldData> * pFieldList) { BOOL fGotUnallocatedStatic = FALSE; - int count = 0; + unsigned int count = 0; while ((count < pFieldList->Count()) && !fGotUnallocatedStatic ) { if ((*pFieldList)[count].OkToGetOrSetStaticAddress() && @@ -1145,7 +1145,7 @@ HRESULT CordbClass::SearchFieldInfo( FieldData **ppFieldData ) { - int i; + unsigned int i; IMetaDataImport * pImport = pModule->GetMetaDataImporter(); // throws diff --git a/src/debug/di/rstype.cpp b/src/debug/di/rstype.cpp index f180982404..a85ab0dcc4 100644 --- a/src/debug/di/rstype.cpp +++ b/src/debug/di/rstype.cpp @@ -1382,7 +1382,7 @@ HRESULT CordbType::InstantiateFromTypeHandle(CordbAppDomain * pAppDomain, // means it will simply assert IsNeutered. DacDbiArrayList<CordbType *> typeList; typeList.Alloc(params.Count()); - for (int i = 0; i < params.Count(); ++i) + for (unsigned int i = 0; i < params.Count(); ++i) { IfFailThrow(TypeDataToType(pAppDomain, &(params[i]), &(typeList[i]))); } |