diff options
author | VoR0220 <catalanor0220@gmail.com> | 2016-03-31 02:15:54 +0800 |
---|---|---|
committer | VoR0220 <catalanor0220@gmail.com> | 2016-03-31 02:15:54 +0800 |
commit | 1b39d3b5d479aead729b765a67dfeaba0031c1ca (patch) | |
tree | da033477b8a762a827e7ccb3f133aa5c77f2dc07 /libsolidity/parsing/Token.cpp | |
parent | 9404600b3f99acb633f6400baa0b53db42a8a626 (diff) | |
download | dexon-solidity-1b39d3b5d479aead729b765a67dfeaba0031c1ca.tar.gz dexon-solidity-1b39d3b5d479aead729b765a67dfeaba0031c1ca.tar.zst dexon-solidity-1b39d3b5d479aead729b765a67dfeaba0031c1ca.zip |
solAsserts added and some changes rolled back.
Diffstat (limited to 'libsolidity/parsing/Token.cpp')
-rw-r--r-- | libsolidity/parsing/Token.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Token.cpp b/libsolidity/parsing/Token.cpp index 097a6f54..2fbc3886 100644 --- a/libsolidity/parsing/Token.cpp +++ b/libsolidity/parsing/Token.cpp @@ -113,7 +113,7 @@ int Token::parseSize(string::const_iterator _begin, string::const_iterator _end) { try { - unsigned int m = boost::lexical_cast<unsigned int>(boost::make_iterator_range(_begin, _end)); + unsigned int m = boost::lexical_cast<int>(boost::make_iterator_range(_begin, _end)); return m; } catch(boost::bad_lexical_cast const&) |