diff options
author | Gav Wood <i@gavwood.com> | 2015-03-08 18:43:17 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-08 18:43:17 +0800 |
commit | 67ffc3db714bf1a4930a9e340e500285e985222f (patch) | |
tree | 74d0e5faf068b4ab890f6d2db9fe5dcedef0014f /Compiler.cpp | |
parent | 0e50ef1ee0b2ecec1596c1aba0809a843652da43 (diff) | |
download | dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.gz dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.bz2 dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.lz dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.xz dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.zst dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.zip |
Solidity fixes.
Diffstat (limited to 'Compiler.cpp')
-rw-r--r-- | Compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Compiler.cpp b/Compiler.cpp index 241cf040..5eeb0c3e 100644 --- a/Compiler.cpp +++ b/Compiler.cpp @@ -375,7 +375,7 @@ bool Compiler::visit(FunctionDefinition const& _function) for (VariableDeclaration const* localVariable: _function.getLocalVariables()) m_context.removeVariable(*localVariable); - m_context.adjustStackOffset(-c_returnValuesSize); + m_context.adjustStackOffset(-(int)c_returnValuesSize); if (!_function.isConstructor()) m_context << eth::Instruction::JUMP; return false; |