use uint8_t to parse hex2 values to avoid overflowing (boost >= 1.67)
This commit is contained in:
parent
f1d07d6718
commit
67dbb96580
1 changed files with 1 additions and 1 deletions
|
@ -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 {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue