From 941339bdde9fffd90034535f83864dae69d06e04 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 14 Jul 2016 21:21:52 +0200 Subject: [PATCH] fix a -Wsign-compare --- libs/ardour/resampled_source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/resampled_source.cc b/libs/ardour/resampled_source.cc index 9a406c549f..24eb12ad23 100644 --- a/libs/ardour/resampled_source.cc +++ b/libs/ardour/resampled_source.cc @@ -81,7 +81,7 @@ ResampledImportableSource::read (Sample* output, framecnt_t nframes) _src_data.input_frames = source->read (_input, bs); /* The last read will not be a full buffer, so set end_of_input. */ - if ((framecnt_t) _src_data.input_frames < bs) { + if ((size_t) _src_data.input_frames < bs) { _end_of_input = true; }