aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-07 20:22:45 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-07 20:22:45 +0800
commit5a0f9a35c107da5ae1c24c98eb20e557bae4a3e7 (patch)
treeefe97356ed4c0f09a5726bd8d8552b6e11ec27fa
parent8eb6675bc69258163a25a9518b76c3176e378121 (diff)
downloaddexon-solidity-5a0f9a35c107da5ae1c24c98eb20e557bae4a3e7.tar.gz
dexon-solidity-5a0f9a35c107da5ae1c24c98eb20e557bae4a3e7.tar.zst
dexon-solidity-5a0f9a35c107da5ae1c24c98eb20e557bae4a3e7.zip
small fix in solidityCompiler
-rw-r--r--solidityCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp
index 192fd61a..ba2db67e 100644
--- a/solidityCompiler.cpp
+++ b/solidityCompiler.cpp
@@ -119,7 +119,7 @@ BOOST_AUTO_TEST_CASE(different_argument_numbers)
byte(Instruction::JUMPDEST), // beginning of g
byte(Instruction::PUSH1), 0x0,
byte(Instruction::DUP1), // initialized e and h
- byte(Instruction::PUSH1), 0x29 + shift, // ret address
+ byte(Instruction::PUSH1), byte(0x29 + shift), // ret address
byte(Instruction::PUSH1), 0x1, byte(Instruction::PUSH1), 0xff, byte(Instruction::AND),
byte(Instruction::PUSH1), 0x2, byte(Instruction::PUSH1), 0xff, byte(Instruction::AND),
byte(Instruction::PUSH1), 0x3, byte(Instruction::PUSH1), 0xff, byte(Instruction::AND),