Silence a sign mismatch warning; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 10 Aug 2015 15:22:39 +0000 (15:22 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 10 Aug 2015 15:22:39 +0000 (15:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244452 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCDwarf.cpp

index cfe58dae343cd55d86c0c2c4aa456d978107122b..2d8912b71f14875a4ef3279e6b2ae9d6c7b3feeb 100644 (file)
@@ -220,7 +220,7 @@ MCDwarfLineTableHeader::Emit(MCStreamer *MCOS,
       1  // DW_LNS_set_isa
   };
   assert(array_lengthof(StandardOpcodeLengths) >=
-         (Params.DWARF2LineOpcodeBase - 1));
+         (Params.DWARF2LineOpcodeBase - 1U));
   return Emit(MCOS, Params, ArrayRef<char>(StandardOpcodeLengths,
                                            Params.DWARF2LineOpcodeBase - 1));
 }