X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Flocation_importer.cc;h=281e045ae3d09c9b24c6d83460c3a81c7e1a9ca0;hb=58f82b52e584c48c90cc98c575d085aef165ebc0;hp=8d6af300ca597d746dc2a7f0a4a9067323f988a7;hpb=650c6d5824222a8879df5c5ba9645c264ed3b84f;p=ardour.git diff --git a/libs/ardour/location_importer.cc b/libs/ardour/location_importer.cc index 8d6af300ca..281e045ae3 100644 --- a/libs/ardour/location_importer.cc +++ b/libs/ardour/location_importer.cc @@ -104,7 +104,7 @@ LocationImporter::~LocationImporter () string LocationImporter::get_info () const { - nframes_t start, end; + framepos_t start, end; Timecode::Time start_time, end_time; // Get sample positions @@ -133,7 +133,7 @@ bool LocationImporter::_prepare_move () { try { - Location const original (xml_location); + Location const original (session, xml_location); location = new Location (original); // Updates id } catch (failed_constructor& err) { throw std::runtime_error (X_("Error in session file!"));