Mercurial > hg > qm-dsp
diff dsp/rateconversion/Decimator.cpp @ 501:12b5a9244bb0
Style fixes: avoid unsigned, fix formatting
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 05 Jun 2019 10:21:48 +0100 |
parents | af5b7ef02aa7 |
children |
line wrap: on
line diff
--- a/dsp/rateconversion/Decimator.cpp Mon Jun 03 14:32:24 2019 +0100 +++ b/dsp/rateconversion/Decimator.cpp Wed Jun 05 10:21:48 2019 +0100 @@ -203,7 +203,7 @@ doAntiAlias( src, decBuffer, m_inputLength ); - unsigned idx = 0; + int idx = 0; for (int i = 0; i < m_outputLength; i++ ) { dst[ idx++ ] = decBuffer[ m_decFactor * i ];