From 068d9a564b6010787992597f75e2065ceffb53ea Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 15 Sep 2011 03:20:04 +0000 Subject: [PATCH] DWARF: Silence GCC -Wsign-compare warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139775 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/DWARFDebugLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DebugInfo/DWARFDebugLine.cpp b/lib/DebugInfo/DWARFDebugLine.cpp index 9db86c33fb5..d2ebc384d90 100644 --- a/lib/DebugInfo/DWARFDebugLine.cpp +++ b/lib/DebugInfo/DWARFDebugLine.cpp @@ -394,7 +394,7 @@ DWARFDebugLine::parseStatementTable(DataExtractor debug_line_data, // of such opcodes because they are specified in the prologue // as a multiple of LEB128 operands for each opcode. { - assert(opcode - 1 < prologue->StandardOpcodeLengths.size()); + assert(opcode - 1U < prologue->StandardOpcodeLengths.size()); uint8_t opcode_length = prologue->StandardOpcodeLengths[opcode - 1]; for (uint8_t i=0; i