diff --git a/include/FIFOSamplePipe.h b/include/FIFOSamplePipe.h index 2ce5178..0664951 100644 --- a/include/FIFOSamplePipe.h +++ b/include/FIFOSamplePipe.h @@ -88,11 +88,11 @@ public: void moveSamples(FIFOSamplePipe &other ///< Other pipe instance where from the receive the data. ) { - int oNumSamples = other.numSamples(); + const uint oNumSamples = other.numSamples(); putSamples(other.ptrBegin(), oNumSamples); other.receiveSamples(oNumSamples); - }; + } /// Output samples from beginning of the sample buffer. Copies requested samples to /// output buffer and removes them from the sample buffer. If there are less than