Skip to content

Commit bf5cf82

Browse files
committed
Fix MSVC signed/unsigned mismatch warning. NFC.
1 parent 5692a0c commit bf5cf82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ static bool PermitsD32(const MCInst &Inst, const MCDisassembler *Decoder) {
15411541
static DecodeStatus DecodeDPRRegisterClass(MCInst &Inst, unsigned RegNo,
15421542
uint64_t Address,
15431543
const MCDisassembler *Decoder) {
1544-
if (RegNo > (PermitsD32(Inst, Decoder) ? 31 : 15))
1544+
if (RegNo > (PermitsD32(Inst, Decoder) ? 31u : 15u))
15451545
return MCDisassembler::Fail;
15461546

15471547
unsigned Register = DPRDecoderTable[RegNo];

0 commit comments

Comments
 (0)