Removed unsigned comparison to zero (CID: 611234)

This commit is contained in:
Theodore Kokkoris
2014-12-03 21:20:07 +01:00
committed by Adrien Destugues
parent 249a4944c3
commit f78b08d846
+1 -1
View File
@@ -712,7 +712,7 @@ DwarfFile::ResolveRangeList(CompilationUnit* unit, uint64 offset) const
if (unit == NULL || fDebugRangesSection == NULL)
return NULL;
if (offset < 0 || offset >= (uint64)fDebugRangesSection->Size())
if (offset >= (uint64)fDebugRangesSection->Size())
return NULL;
TargetAddressRangeList* ranges = new(std::nothrow) TargetAddressRangeList;