diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-16 16:43:30 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:42 -0400 |
commit | 14fb1367a2fa1d79c282be36df0d7443c081aee2 (patch) | |
tree | 4cdaa79b34d7ab575acf44a92b0eb8de62c78cc4 /libs/ardour/presentation_info.cc | |
parent | 38dde7f81841fc065a580139b256000e73701bdf (diff) |
fix check for order max in PresentationInfo::parse (string&)
Diffstat (limited to 'libs/ardour/presentation_info.cc')
-rw-r--r-- | libs/ardour/presentation_info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/presentation_info.cc b/libs/ardour/presentation_info.cc index 6ec45a7d04..363aa40e6a 100644 --- a/libs/ardour/presentation_info.cc +++ b/libs/ardour/presentation_info.cc @@ -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); |