TapDelay: fix variable types

This commit is contained in:
Ariel Elkin
2014-04-06 08:24:32 +01:00
parent 4e90d3ffd2
commit b2cefb3b53
2 changed files with 9 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ void TapDelay :: setTapDelays( std::vector<unsigned long> taps )
if ( taps.size() != outPoint_.size() ) {
outPoint_.resize( taps.size() );
delays_.resize( taps.size() );
lastFrame_.resize( 1, taps.size(), 0.0 );
lastFrame_.resize( 1, (unsigned int)taps.size(), 0.0 );
}
for ( unsigned int i=0; i<taps.size(); i++ ) {