Use int arithmetics for stack adjustment.

This commit is contained in:
chriseth 2017-01-24 12:06:21 +01:00
parent 23eca813f5
commit 7e6f1b3f00

View File

@ -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();
}