Mercurial > hg > svcore
diff data/fileio/FFTFuzzyAdapter.cpp @ 936:0c1d6de8f44b
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:51:16 +0100 |
parents | 59e7fe1b1003 |
children |
line wrap: on
line diff
--- a/data/fileio/FFTFuzzyAdapter.cpp Tue Jun 03 11:05:49 2014 +0100 +++ b/data/fileio/FFTFuzzyAdapter.cpp Wed Jun 18 13:51:16 2014 +0100 @@ -20,11 +20,11 @@ FFTFuzzyAdapter::FFTFuzzyAdapter(const DenseTimeValueModel *model, int channel, WindowType windowType, - size_t windowSize, - size_t windowIncrement, - size_t fftSize, + int windowSize, + int windowIncrement, + int fftSize, bool polar, - size_t fillFromColumn) : + int fillFromColumn) : m_server(0), m_xshift(0), m_yshift(0) @@ -38,8 +38,8 @@ polar, fillFromColumn); - size_t xratio = windowIncrement / m_server->getWindowIncrement(); - size_t yratio = m_server->getFFTSize() / fftSize; + int xratio = windowIncrement / m_server->getWindowIncrement(); + int yratio = m_server->getFFTSize() / fftSize; while (xratio > 1) { if (xratio & 0x1) {