diff options
author | VoR0220 <catalanor0220@gmail.com> | 2016-03-30 09:29:48 +0800 |
---|---|---|
committer | VoR0220 <catalanor0220@gmail.com> | 2016-03-31 00:54:00 +0800 |
commit | 63951683717004449eb85dd41157ee586953b55d (patch) | |
tree | 49e1390a5486a8e4b50f91df818b27f7fe036678 /libsolidity | |
parent | ddd16d76552d4080ffb82c433ebdd846bfc867ef (diff) | |
download | dexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar dexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar.gz dexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar.bz2 dexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar.lz dexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar.xz dexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar.zst dexon-solidity-63951683717004449eb85dd41157ee586953b55d.zip |
change lexical cast to unsigned int
Diffstat (limited to 'libsolidity')
-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 df60aa4b..24877c70 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<int>(boost::make_iterator_range(_begin, _end)); + unsigned int m = boost::lexical_cast<unsigned int>(boost::make_iterator_range(_begin, _end)); return m; } catch(boost::bad_lexical_cast const&) |