mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
b72a693e39
@ -85,7 +85,7 @@ This means that cyclic creation dependencies are impossible.
|
||||
// Only the creator can alter the name --
|
||||
// the comparison is possible since contracts
|
||||
// are implicitly convertible to addresses.
|
||||
if (msg.sender == creator)
|
||||
if (msg.sender == address(creator))
|
||||
name = newName;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user