[llvm] r244452 - Silence a sign mismatch warning; NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 08:22:39 PDT 2015
Author: aaronballman
Date: Mon Aug 10 10:22:39 2015
New Revision: 244452
URL: http://llvm.org/viewvc/llvm-project?rev=244452&view=rev
Log:
Silence a sign mismatch warning; NFC.
Modified:
llvm/trunk/lib/MC/MCDwarf.cpp
Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=244452&r1=244451&r2=244452&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Mon Aug 10 10:22:39 2015
@@ -220,7 +220,7 @@ MCDwarfLineTableHeader::Emit(MCStreamer
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));
}
More information about the llvm-commits
mailing list