use uint8_t to parse hex2 values to avoid overflowing (boost >= 1.67)

This commit is contained in:
Artem Pavlenko 2018-07-19 15:34:40 +01:00
parent f1d07d6718
commit 67dbb96580

View file

@ -105,7 +105,7 @@ using x3::char_;
using x3::eol;
using x3::no_skip;
x3::uint_parser<char, 16, 2, 2> const hex2 {};
x3::uint_parser<std::uint8_t, 16, 2, 2> const hex2 {};
x3::uint_parser<std::uint16_t, 16, 4, 4> const hex4 {};
x3::uint_parser<uchar, 16, 8, 8> const hex8 {};