From dbc34ab4dac07a17aa5181e5a1bf6271b68f3660 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 28 Aug 2014 14:01:12 -0400 Subject: [PATCH] fix compiler warning --- libs/ardour/audiosource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/audiosource.cc b/libs/ardour/audiosource.cc index c08cea962b..fd20c3afdb 100644 --- a/libs/ardour/audiosource.cc +++ b/libs/ardour/audiosource.cc @@ -328,7 +328,7 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, framecnt_t npeaks, framepos_t PeakData::PeakDatum xmax; PeakData::PeakDatum xmin; int32_t to_read; - uint32_t nread; + ssize_t nread; framecnt_t zero_fill = 0; boost::scoped_ptr peakfile_descriptor(new FdFileDescriptor (peakpath, false, 0664));