Fix -Wsign-compare by explicit cast after r362557
llvm-svn: 362570
diff --git a/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp b/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
index 34d0816..43041ca 100644
--- a/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
+++ b/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
@@ -819,7 +819,7 @@
int offset;
if (pc_rel_branch_or_jump_p (instruction_length, offset) && offset != 0) {
addr_t next_pc_value = current_func_text_offset + instruction_length;
- if (offset < 0 && abs (offset) > current_func_text_offset) {
+ if (offset < 0 && addr_t(-offset) > current_func_text_offset) {
// Branch target is before the start of this function
return false;
}