13
0

fix some timeline type issues

This commit is contained in:
Paul Davis 2021-07-03 18:57:21 -06:00
parent 5f4fa2d9ea
commit 12fb9608d9

View File

@ -1229,8 +1229,8 @@ Playlist::cut (timepos_t const & start, timecnt_t const & cnt, bool result_is_hi
new_name += '.';
new_name += buf;
if ((the_copy = PlaylistFactory::create (shared_from_this (), start, cnt, new_name, result_is_hidden)) == 0) {
return boost::shared_ptr<Playlist> ();
if ((the_copy = PlaylistFactory::create (shared_from_this(), start, timepos_t (cnt), new_name, result_is_hidden)) == 0) {
return boost::shared_ptr<Playlist>();
}
{