From 815df2627f416de4eb6221bc2f282c0fbdd4c59f Mon Sep 17 00:00:00 2001
From: Theodore Kokkoris <t.kokkoris@gmail.com>
Date: Wed, 3 Dec 2014 15:27:47 +0000
Subject: [PATCH] Removed unsigned comparison to zero (CID: 611234)
---
src/apps/debugger/dwarf/DwarfFile.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/apps/debugger/dwarf/DwarfFile.cpp b/src/apps/debugger/dwarf/DwarfFile.cpp
index 8d4ec5a..f918b86 100644
a
|
b
|
DwarfFile::ResolveRangeList(CompilationUnit* unit, uint64 offset) const
|
712 | 712 | if (unit == NULL || fDebugRangesSection == NULL) |
713 | 713 | return NULL; |
714 | 714 | |
715 | | if (offset < 0 || offset >= (uint64)fDebugRangesSection->Size()) |
| 715 | if (offset >= (uint64)fDebugRangesSection->Size()) |
716 | 716 | return NULL; |
717 | 717 | |
718 | 718 | TargetAddressRangeList* ranges = new(std::nothrow) TargetAddressRangeList; |