Fix implicit cast of framepos_t to nframes_t. Fixes #3473.
authorCarl Hetherington <carl@carlh.net>
Thu, 23 Sep 2010 22:55:08 +0000 (22:55 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 23 Sep 2010 22:55:08 +0000 (22:55 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7835 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session.cc

index 24c6d393ed577ead0999fa464491376791c8d1f8..fb8649d1a02d5dbb41717a3c739b087de6e51bbd 100644 (file)
@@ -2530,7 +2530,7 @@ Session::get_extent () const
                        continue;
                }
 
-               pair<nframes_t, nframes_t> e = tr->playlist()->get_extent ();
+               pair<framepos_t, framepos_t> e = tr->playlist()->get_extent ();
                if (e.first < ext.first) {
                        ext.first = e.first;
                }