Fixed -Wimplicit-float-conversion warnings

This commit is contained in:
Sean McBride
2021-09-23 13:43:56 -04:00
parent c23bdf1af9
commit f3055ee795
2 changed files with 4 additions and 4 deletions

View File

@ -149,7 +149,7 @@ kiss_fastfir_cfg kiss_fastfir_alloc(
FFTFWD(st->fftcfg,st->tmpbuf,st->fir_freq_resp);
/* TODO: this won't work for fixed point */
scale = 1.0 / st->nfft;
scale = 1.0f / st->nfft;
for ( i=0; i < st->n_freq_bins; ++i ) {
#ifdef USE_SIMD