diff --git a/src/Granulate.cpp b/src/Granulate.cpp index cce2dc5..a654159 100644 --- a/src/Granulate.cpp +++ b/src/Granulate.cpp @@ -106,8 +106,8 @@ void Granulate :: reset( void ) gPointer_ = 0; // Reset grain parameters. - std::vector::size_type count; - std::vector::size_type nVoices = (unsigned int)grains_.size(); + size_t count; + size_t nVoices = (unsigned int)grains_.size(); for ( unsigned int i=0; i::size_type oldSize = grains_.size(); + size_t oldSize = grains_.size(); grains_.resize( nVoices ); // Initialize new grain voices. - std::vector::size_type count; - for ( std::vector::size_type i=oldSize; i