diff --git a/include/Iir.h b/include/Iir.h index 5e002df..c8264d2 100644 --- a/include/Iir.h +++ b/include/Iir.h @@ -113,7 +113,7 @@ protected: inline StkFloat Iir :: tick( StkFloat input ) { - unsigned int i; + size_t i; outputs_[0] = 0.0; inputs_[0] = gain_ * input; @@ -142,7 +142,8 @@ inline StkFrames& Iir :: tick( StkFrames& frames, unsigned int channel ) #endif StkFloat *samples = &frames[channel]; - unsigned int i, hop = frames.channels(); + size_t i; + unsigned int hop = frames.channels(); for ( unsigned int j=0; j