# HG changeset patch # User Chris Cannam # Date 1538665250 -3600 # Node ID 9ebd08bdd168a8282db8b53f6d22056584f15e7d # Parent 390720c55c86c7f1c210928f62385416ae86eb3b Avoid compiler warnings diff -r 390720c55c86 -r 9ebd08bdd168 FChTransformF0gram.cpp --- 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; }