diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-14 21:21:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-14 21:41:16 +0200 |
commit | 941339bdde9fffd90034535f83864dae69d06e04 (patch) | |
tree | b1635894e55c8db659afdcf4aacd8d1a815cff07 /libs/ardour/resampled_source.cc | |
parent | 6f80b4063009ec248978772aa15aaceff352fa52 (diff) |
fix a -Wsign-compare
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; } |