General: Fix compilation for GCC
This commit is contained in:
parent
602cb1e42f
commit
6df0663a57
16 changed files with 56 additions and 42 deletions
|
@ -269,7 +269,7 @@ std::optional<ConstBufferAddr> TryGetConstBuffer(const IR::Inst* inst, Environme
|
|||
}
|
||||
std::optional lhs{Track(op1, env)};
|
||||
if (lhs) {
|
||||
lhs->shift_left = std::countr_zero(op2.U32());
|
||||
lhs->shift_left = static_cast<u32>(std::countr_zero(op2.U32()));
|
||||
}
|
||||
return lhs;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue