ref: 6e8aa746e7b5b3d6158dc785a8d7e68ff75da869
parent: aef9691a3e80548d2326a7b81e36845e5951f9cc
author: Paul Brossier <piem@piem.org>
date: Wed Sep 21 07:26:10 EDT 2016
src/effects/pitchshift.c: avoid signed/unsigned comparison
--- a/src/effects/pitchshift.c
+++ b/src/effects/pitchshift.c
@@ -103,7 +103,7 @@
unsigned int latency = MAX(p->hopsize, rubberband_get_latency(p->rb));
int available = rubberband_available(p->rb);
fvec_t *zeros = new_fvec(p->hopsize);
- while (available <= latency) {+ while (available <= (int)latency) {rubberband_process(p->rb, (const float* const*)&(zeros->data), p->hopsize, 0);
available = rubberband_available(p->rb);
}
--
⑨