From d85607bfc7f436fcf10aaaf85847e292e84ae421 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 13 Jan 2022 15:59:23 -0700 Subject: [PATCH] teiggerbox: fix signedness warning with cast --- libs/ardour/triggerbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 547691b6a7..b89340aca4 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -2772,7 +2772,7 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp PropertyChanged (Properties::currently_playing); break; /* no triggers to come next, break out of nframes loop */ } - if (_currently_playing->index() == n) { + if ((int) _currently_playing->index() == n) { start_quantization = _currently_playing->follow_length(); DEBUG_TRACE (DEBUG::Triggers, string_compose ("switching to next trigger %1\n, will use start Q %2", all_triggers[n]->name(), _currently_playing->follow_length())); } else {