diff options
-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&) |