1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Silence a sign mismatch warning; NFC.

llvm-svn: 244452
This commit is contained in:
Aaron Ballman 2015-08-10 15:22:39 +00:00
parent fccd898d4b
commit 04b689be68

View 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));
}