Mercurial > hg > vamp-fanchirp
changeset 27:9ebd08bdd168 spect
Avoid compiler warnings
author | Chris Cannam |
---|---|
date | Thu, 04 Oct 2018 16:00:50 +0100 |
parents | 390720c55c86 |
children | 60e2ef9fc5fc |
files | FChTransformF0gram.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/FChTransformF0gram.cpp Thu Oct 04 16:00:03 2018 +0100 +++ b/FChTransformF0gram.cpp Thu Oct 04 16:00:50 2018 +0100 @@ -26,7 +26,7 @@ using namespace breakfastquay; -#define DEBUG +//#define DEBUG #define MAX(x, y) (((x) > (y)) ? (x) : (y)) @@ -537,8 +537,8 @@ FChTransformF0gram::initialise(size_t channels, size_t stepSize, size_t blockSize) { if (channels < getMinChannelCount() || channels > getMaxChannelCount() || - blockSize != m_blockSize/2 || - stepSize != m_stepSize) { + int(blockSize) != m_blockSize/2 || + int(stepSize) != m_stepSize) { return false; }