mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 03:44:59 +00:00
Fix "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
This commit is contained in:
parent
d76202d3e3
commit
6945d383b9
@ -177,7 +177,7 @@ public:
|
||||
|
||||
int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue();
|
||||
if (Shift)
|
||||
MulImm = 1 << MulImm;
|
||||
MulImm = 1LL << MulImm;
|
||||
|
||||
if ((MulImm % std::abs(Scale)) != 0)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user