aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/codegen/CompilerContext.cpp')
-rw-r--r--libsolidity/codegen/CompilerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index dad227c7..e26f96e8 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -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();
}