mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adding fixes for signedness warnings in test/tools/yulInterpreter
This commit is contained in:
committed by
Daniel Kirchner
parent
97cb091ada
commit
1ee6c49028
@@ -87,9 +87,9 @@ u256 EwasmBuiltinInterpreter::evalBuiltin(YulString _fun, vector<u256> const& _a
|
||||
copyZeroExtended(
|
||||
m_state.memory,
|
||||
m_state.code,
|
||||
size_t(_arguments.at(0)),
|
||||
size_t(_arguments.at(1) & size_t(-1)),
|
||||
size_t(_arguments.at(2))
|
||||
static_cast<size_t>(_arguments.at(0)),
|
||||
static_cast<size_t>(_arguments.at(1) & numeric_limits<size_t>::max()),
|
||||
static_cast<size_t>(_arguments.at(2))
|
||||
);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user