1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFCI.

llvm-svn: 364068
This commit is contained in:
Simon Pilgrim 2019-06-21 16:11:18 +00:00
parent f28fa06507
commit b6bee639c8

View File

@ -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;
}