Use the appropriate type for this

This commit is contained in:
Chris Cannam
2013-05-15 10:35:30 +01:00
parent 8bbf6b8c0a
commit 97fb6da962
2 changed files with 4 additions and 1 deletions

View File

@@ -930,7 +930,7 @@ RubberBandStretcher::Impl::formantShiftChunk(size_t channel)
v_scale(dblbuf, factor, cutoff);
double *spare = (double *)alloca((hs + 1) * sizeof(double));
process_t *spare = (process_t *)alloca((hs + 1) * sizeof(process_t));
cd.fft->forward(dblbuf, envelope, spare);
v_exp(envelope, hs + 1);