change lexical cast to unsigned int

This commit is contained in:
VoR0220 2016-03-29 20:29:48 -05:00
parent ddd16d7655
commit 6395168371

View File

@ -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&)