From 14fb1367a2fa1d79c282be36df0d7443c081aee2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 16 May 2016 16:43:30 -0400 Subject: fix check for order max in PresentationInfo::parse (string&) --- libs/ardour/presentation_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/presentation_info.cc') 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); -- cgit v1.2.3