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:
parent
23eca813f5
commit
7e6f1b3f00
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user