ref: 98893c5d94c507581a503638ca0e73ee6d573fde
parent: b33e355f68f9e46525fed11e59f2ace02c838ea8
author: Paul Brossier <piem@altern.org>
date: Sat Jun 3 11:15:07 EDT 2006
fix signed/unsigned mismatches in pitchscmitt fix signed/unsigned mismatches in pitchscmitt
--- a/src/pitchschmitt.c
+++ b/src/pitchschmitt.c
@@ -61,7 +61,7 @@
for (i=0; i<nframes; i++) {
*schmittPointer++ = indata[i];
- if (schmittPointer-schmittBuffer >= blockSize) {
+ if (schmittPointer-schmittBuffer >= (sint_t)blockSize) {
sint_t endpoint, startpoint, t1, t2, A1, A2, tc, schmittTriggered;
schmittPointer = schmittBuffer;