aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing
diff options
context:
space:
mode:
authorVoR0220 <catalanor0220@gmail.com>2016-03-30 09:29:48 +0800
committerVoR0220 <catalanor0220@gmail.com>2016-03-31 00:54:00 +0800
commit63951683717004449eb85dd41157ee586953b55d (patch)
tree49e1390a5486a8e4b50f91df818b27f7fe036678 /libsolidity/parsing
parentddd16d76552d4080ffb82c433ebdd846bfc867ef (diff)
downloaddexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar.gz
dexon-solidity-63951683717004449eb85dd41157ee586953b55d.tar.zst
dexon-solidity-63951683717004449eb85dd41157ee586953b55d.zip
change lexical cast to unsigned int
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r--libsolidity/parsing/Token.cpp2
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&)