summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index cfe58dae343..2d8912b71f1 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<char>(StandardOpcodeLengths,
Params.DWARF2LineOpcodeBase - 1));
}
OpenPOWER on IntegriCloud