From efff86ac1ceddfc3abd1b8c1516473ebe49fefa2 Mon Sep 17 00:00:00 2001 From: Julien <182520+JulienMaille@users.noreply.github.com> Date: Tue, 9 Jun 2020 13:57:41 +0200 Subject: [PATCH] Fix conversion from 'double' to 'float' warning closes Closes #27 --- _kiss_fft_guts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_kiss_fft_guts.h b/_kiss_fft_guts.h index afcbe1b..4bd8d1c 100644 --- a/_kiss_fft_guts.h +++ b/_kiss_fft_guts.h @@ -135,7 +135,7 @@ struct kiss_fft_state{ #else # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) # define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) -# define HALF_OF(x) ((x)*.5) +# define HALF_OF(x) ((x)*((kiss_fft_scalar).5)) #endif #define kf_cexp(x,phase) \