From 3acde0965a67a813f9d614543d2551b67e15c747 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 25 Oct 2024 14:52:49 -0600 Subject: [PATCH] don't cast to the same type --- libs/ardour/disk_writer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());