diff options
Diffstat (limited to 'libs/ardour/resampled_source.cc')
-rw-r--r-- | libs/ardour/resampled_source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |