diff --git a/libs/ardour/disk_writer.cc b/libs/ardour/disk_writer.cc index 79bcd8b2f4..8e5352b431 100644 --- a/libs/ardour/disk_writer.cc +++ b/libs/ardour/disk_writer.cc @@ -1305,7 +1305,7 @@ DiskWriter::transport_stopped_wallclock (struct tm& when, time_t twhen, bool abo * beat/bar here */ - _midi_write_source->mark_midi_streaming_write_completed (source_lock, Evoral::Sequence::ResolveStuckNotes, timecnt_t (total_capture)); + _midi_write_source->mark_midi_streaming_write_completed (source_lock, Evoral::Sequence::ResolveStuckNotes, total_capture); } _last_capture_sources.insert (_last_capture_sources.end(), audio_srcs.begin(), audio_srcs.end());