mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Minor warning fix.
This commit is contained in:
parent
80c1259239
commit
696b5b3a49
@ -48,7 +48,7 @@ public:
|
|||||||
m_optimize = true;
|
m_optimize = true;
|
||||||
bytes optimizedBytecode = compileAndRun(_sourceCode, _value, _contractName);
|
bytes optimizedBytecode = compileAndRun(_sourceCode, _value, _contractName);
|
||||||
int sizeDiff = nonOptimizedBytecode.size() - optimizedBytecode.size();
|
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>(sizeDiff) + " bytes, expected: "
|
||||||
+ boost::lexical_cast<string>(_expectedSizeDecrease));
|
+ boost::lexical_cast<string>(_expectedSizeDecrease));
|
||||||
m_optimizedContract = m_contractAddress;
|
m_optimizedContract = m_contractAddress;
|
||||||
|
Loading…
Reference in New Issue
Block a user