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:
parent
f28fa06507
commit
b6bee639c8
@ -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…
x
Reference in New Issue
Block a user