From d8ac7de795585ddceea1c24b4dd8c5fca15b4bce Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 10 Aug 2015 15:22:39 +0000 Subject: [PATCH] Silence a sign mismatch warning; NFC. llvm-svn: 244452 --- llvm/lib/MC/MCDwarf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index cfe58da..2d8912b 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -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(StandardOpcodeLengths, Params.DWARF2LineOpcodeBase - 1)); } -- 2.7.4