comparison dsp/signalconditioning/DFProcess.cpp @ 189:e4a57215ddee

Fix compiler warnings with -Wall -Wextra
author Chris Cannam
date Mon, 28 Sep 2015 12:33:17 +0100
parents 2ae4ceb76ac3
children ca658c7215a9
comparison
equal deleted inserted replaced
188:224f400410ef 189:e4a57215ddee
191 191
192 MathUtilities::getFrameMinMax( src, m_length, &DFMin, &DFmax ); 192 MathUtilities::getFrameMinMax( src, m_length, &DFMin, &DFmax );
193 193
194 MathUtilities::getAlphaNorm( src, m_length, m_alphaNormParam, &DFAlphaNorm ); 194 MathUtilities::getAlphaNorm( src, m_length, m_alphaNormParam, &DFAlphaNorm );
195 195
196 for( unsigned int i = 0; i< m_length; i++) 196 for (int i = 0; i < m_length; i++)
197 { 197 {
198 dst[ i ] = ( src[ i ] - DFMin ) / DFAlphaNorm; 198 dst[ i ] = ( src[ i ] - DFMin ) / DFAlphaNorm;
199 } 199 }
200 } 200 }