hrev48431 adds 1 changeset to branch 'master' old head: 249a4944c397b19dd2420bf950aa8f60c9ab8557 new head: f78b08d8465758f029c2627b1359053325647bbe overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=f78b08d+%5E249a494 ---------------------------------------------------------------------------- f78b08d: Removed unsigned comparison to zero (CID: 611234) [ Theodore Kokkoris <t.kokkoris@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev48431 Commit: f78b08d8465758f029c2627b1359053325647bbe URL: http://cgit.haiku-os.org/haiku/commit/?id=f78b08d Author: Theodore Kokkoris <t.kokkoris@xxxxxxxxx> Date: Wed Dec 3 15:27:47 2014 UTC Committer: Adrien Destugues <pulkomandy@xxxxxxxxx> Commit-Date: Wed Dec 3 20:20:07 2014 UTC ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 1 deletion(-) src/apps/debugger/dwarf/DwarfFile.cpp | 2 +- ---------------------------------------------------------------------------- diff --git a/src/apps/debugger/dwarf/DwarfFile.cpp b/src/apps/debugger/dwarf/DwarfFile.cpp index 8d4ec5a..f918b86 100644 --- a/src/apps/debugger/dwarf/DwarfFile.cpp +++ b/src/apps/debugger/dwarf/DwarfFile.cpp @@ -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;