Mercurial > hg > vamp-plugin-sdk
diff src/vamp-sdk/ext/kiss_fft.c @ 470:af4a1522ef15
Fix compiler warnings
author | Chris Cannam |
---|---|
date | Thu, 20 Oct 2016 14:05:05 +0100 |
parents | b4addbeab790 |
children |
line wrap: on
line diff
--- a/src/vamp-sdk/ext/kiss_fft.c Fri Oct 14 17:00:34 2016 +0100 +++ b/src/vamp-sdk/ext/kiss_fft.c Thu Oct 20 14:05:05 2016 +0100 @@ -223,7 +223,7 @@ int twidx=0; Fout[ k ] = scratch[0]; for (q=1;q<p;++q ) { - twidx += fstride * k; + twidx += int(fstride * k); if (twidx>=Norig) twidx-=Norig; C_MUL(t,scratch[q] , twiddles[twidx] ); C_ADDTO( Fout[ k ] ,t);