-Wsign-compare
authorRobin Gareus <robin@gareus.org>
Tue, 16 Jun 2015 17:27:22 +0000 (19:27 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 16 Jun 2015 17:27:22 +0000 (19:27 +0200)
libs/ardour/meter.cc

index 60d8b694a8c349a55fd68fdd0e7ae327d4e570bc..f065fb1c93d4ba94a065a650ff706a83441f5d1e 100644 (file)
@@ -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