fix check for order max in PresentationInfo::parse (string&)

This commit is contained in:
Paul Davis 2016-05-16 16:43:30 -04:00
parent 38dde7f818
commit 14fb1367a2

View file

@ -67,7 +67,7 @@ PresentationInfo::parse (string const& str)
int
PresentationInfo::parse (uint32_t n, Flag f)
{
if (n < UINT16_MAX) {
if (n < UINT32_MAX) {
assert (f != Flag (0));
_order = n;
_flags = Flag (f|GroupOrderSet);