aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-11-07 21:50:51 +0800
committerGav Wood <i@gavwood.com>2014-11-07 21:50:51 +0800
commit8be49ae2882f836853c824b1f3ff81cdde3cbe56 (patch)
treeefe97356ed4c0f09a5726bd8d8552b6e11ec27fa
parent8eb6675bc69258163a25a9518b76c3176e378121 (diff)
downloaddexon-solidity-8be49ae2882f836853c824b1f3ff81cdde3cbe56.tar.gz
dexon-solidity-8be49ae2882f836853c824b1f3ff81cdde3cbe56.tar.zst
dexon-solidity-8be49ae2882f836853c824b1f3ff81cdde3cbe56.zip
Fixes for warnings. Take note.
-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),