Skip to content

Commit 9b7b382

Browse files
committed
Fix MSVC truncation to char warning. NFC.
1 parent 1f1b903 commit 9b7b382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5883,7 +5883,7 @@ static void appendConstantExpr(SmallVectorImpl<char> &Expr, int64_t Constant,
58835883

58845884
// Convenience function to create a DWARF expression for a register.
58855885
static void appendReadRegExpr(SmallVectorImpl<char> &Expr, unsigned RegNum) {
5886-
Expr.push_back(dwarf::DW_OP_bregx);
5886+
Expr.push_back((char)dwarf::DW_OP_bregx);
58875887
appendLEB128<LEB128Sign::Unsigned>(Expr, RegNum);
58885888
Expr.push_back(0);
58895889
}

0 commit comments

Comments
 (0)