aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/corion/ico.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/corion/ico.sol')
-rw-r--r--test/compilationTests/corion/ico.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/corion/ico.sol b/test/compilationTests/corion/ico.sol
index 6c9f8cb2..c61e3448 100644
--- a/test/compilationTests/corion/ico.sol
+++ b/test/compilationTests/corion/ico.sol
@@ -309,7 +309,7 @@ contract ico is safeMath {
require( beneficiaryAddress.send(0.2 ether) );
_value = safeSub(_value, 0.2 ether);
}
- var _reward = getIcoReward(_value);
+ uint256 _reward = getIcoReward(_value);
require( _reward > 0 );
require( token(tokenAddr).mint(beneficiaryAddress, _reward) );
brought[beneficiaryAddress].eth = safeAdd(brought[beneficiaryAddress].eth, _value);