X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fresampled_source.cc;h=24eb12ad23bf0b2f206348e96354f5688b4e0331;hb=7ba9223f9f43e1624f6d9b86534519a5f30f976c;hp=04eecf0dee9eebadd93a1991aff0e5fbe5d09694;hpb=48329f8d6ee89480f93747f08603c7aed4d07f36;p=ardour.git diff --git a/libs/ardour/resampled_source.cc b/libs/ardour/resampled_source.cc index 04eecf0dee..24eb12ad23 100644 --- a/libs/ardour/resampled_source.cc +++ b/libs/ardour/resampled_source.cc @@ -21,7 +21,7 @@ #include "ardour/resampled_source.h" #include "pbd/failed_constructor.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace ARDOUR; using namespace PBD; @@ -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; }