From 79cdf449b55701bd11328ac549cba866bf201ff3 Mon Sep 17 00:00:00 2001 From: Ariel Elkin Date: Sun, 6 Apr 2014 08:37:04 +0100 Subject: [PATCH] fix variable types in Iir --- include/Iir.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/Iir.h b/include/Iir.h index 5487963..99fc3d8 100644 --- a/include/Iir.h +++ b/include/Iir.h @@ -113,7 +113,7 @@ protected: inline StkFloat Iir :: tick( StkFloat input ) { - unsigned int i; + std::vector::size_type 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(); + std::vector::size_type i; + unsigned int hop = frames.channels(); for ( unsigned int j=0; j::size_type i; + unsigned int iHop = iFrames.channels(), oHop = oFrames.channels(); for ( unsigned int j=0; j