forked from OSchip/llvm-project
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFCI.
llvm-svn: 364068
This commit is contained in:
parent
104b12980c
commit
bdea88325f
|
@ -6148,7 +6148,7 @@ static DecodeStatus DecodePowerTwoOperand(MCInst &Inst, unsigned Val,
|
|||
if (Val < MinLog || Val > MaxLog)
|
||||
return MCDisassembler::Fail;
|
||||
|
||||
Inst.addOperand(MCOperand::createImm(1 << Val));
|
||||
Inst.addOperand(MCOperand::createImm(1LL << Val));
|
||||
return S;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue