From 9d4c93aca7a7d6900c2b4f6c138057a8006321b3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 16 Jun 2015 19:27:22 +0200 Subject: [PATCH] -Wsign-compare --- libs/ardour/meter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/meter.cc b/libs/ardour/meter.cc index 60d8b694a8..f065fb1c93 100644 --- a/libs/ardour/meter.cc +++ b/libs/ardour/meter.cc @@ -94,7 +94,7 @@ PeakMeter::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_fr uint32_t n = 0; const float falloff_dB = Config->get_meter_falloff() * nframes / _session.nominal_frame_rate(); - const int zoh = _session.nominal_frame_rate() * .021; + const uint32_t zoh = _session.nominal_frame_rate() * .021; _bufcnt += nframes; // Meter MIDI in to the first n_midi peaks