aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-12-12 22:44:18 +0800
committerGav Wood <i@gavwood.com>2014-12-12 22:44:18 +0800
commit696b5b3a493d7e9c8bee455bed24bdfcfe3a1fb0 (patch)
tree1d5c683a63a4d4d8606a6536d2e57ceec9c4b062
parent80c125923943287db0c1d019e5745b7ec4521626 (diff)
downloaddexon-solidity-696b5b3a493d7e9c8bee455bed24bdfcfe3a1fb0.tar.gz
dexon-solidity-696b5b3a493d7e9c8bee455bed24bdfcfe3a1fb0.tar.zst
dexon-solidity-696b5b3a493d7e9c8bee455bed24bdfcfe3a1fb0.zip
Minor warning fix.
-rw-r--r--solidityOptimizerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityOptimizerTest.cpp b/solidityOptimizerTest.cpp
index f8d3b552..b689fe54 100644
--- a/solidityOptimizerTest.cpp
+++ b/solidityOptimizerTest.cpp
@@ -48,7 +48,7 @@ public:
m_optimize = true;
bytes optimizedBytecode = compileAndRun(_sourceCode, _value, _contractName);
int sizeDiff = nonOptimizedBytecode.size() - optimizedBytecode.size();
- BOOST_CHECK_MESSAGE(sizeDiff >= _expectedSizeDecrease, "Bytecode did only shrink by "
+ BOOST_CHECK_MESSAGE(sizeDiff >= (int)_expectedSizeDecrease, "Bytecode did only shrink by "
+ boost::lexical_cast<string>(sizeDiff) + " bytes, expected: "
+ boost::lexical_cast<string>(_expectedSizeDecrease));
m_optimizedContract = m_contractAddress;