mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
change lexical cast to unsigned int
This commit is contained in:
parent
ddd16d7655
commit
6395168371
@ -113,7 +113,7 @@ int Token::parseSize(string::const_iterator _begin, string::const_iterator _end)
|
|||||||
{
|
{
|
||||||
try
|
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;
|
return m;
|
||||||
}
|
}
|
||||||
catch(boost::bad_lexical_cast const&)
|
catch(boost::bad_lexical_cast const&)
|
||||||
|
Loading…
Reference in New Issue
Block a user