Mercurial > hg > qm-dsp
comparison dsp/signalconditioning/DFProcess.cpp @ 414:7e8d1f26b098
Fix compiler warnings with -Wall -Wextra
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 28 Sep 2015 12:33:17 +0100 |
parents | c5e1b25d5177 |
children | ca658c7215a9 |
comparison
equal
deleted
inserted
replaced
413:ec7318974497 | 414:7e8d1f26b098 |
---|---|
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 } |