mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use int arithmetics for stack adjustment.
This commit is contained in:
@@ -81,7 +81,7 @@ void CompilerContext::callLowLevelFunction(
|
||||
else
|
||||
*this << it->second;
|
||||
appendJump(eth::AssemblyItem::JumpType::IntoFunction);
|
||||
adjustStackOffset(_outArgs - 1 - _inArgs);
|
||||
adjustStackOffset(int(_outArgs) - 1 - _inArgs);
|
||||
*this << retTag.tag();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user