Skip to content

Commit

Permalink
Added explicit integer sizes to uint variables in StandardToken (Open…
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Crescenzi authored and shrugs committed Jun 13, 2018
1 parent 5daaf60 commit e4ed8f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/token/ERC20/StandardToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ contract StandardToken is ERC20, BasicToken {
*/
function increaseApproval(
address _spender,
uint _addedValue
uint256 _addedValue
)
public
returns (bool)
Expand All @@ -109,12 +109,12 @@ contract StandardToken is ERC20, BasicToken {
*/
function decreaseApproval(
address _spender,
uint _subtractedValue
uint256 _subtractedValue
)
public
returns (bool)
{
uint oldValue = allowed[msg.sender][_spender];
uint256 oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowed[msg.sender][_spender] = 0;
} else {
Expand Down

0 comments on commit e4ed8f0

Please sign in to comment.