From 347afd878ca05eae97ea28a9f8709a671df7112f Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Fri, 3 Oct 2014 06:50:27 +1000 Subject: [PATCH] src/libFLAC/window.c : Add 'f' to float literals to avoid compiler warnings. Patch-from: lvqcl --- src/libFLAC/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libFLAC/window.c b/src/libFLAC/window.c index edbbe414..c41120b8 100644 --- a/src/libFLAC/window.c +++ b/src/libFLAC/window.c @@ -215,7 +215,7 @@ void FLAC__window_partial_tukey(FLAC__real *window, const FLAC__int32 L, const F FLAC__int32 Np, n, i; if (p <= 0.0) - FLAC__window_partial_tukey(window, L, 0.01, start, end); + FLAC__window_partial_tukey(window, L, 0.01f, start, end); else if (p >= 1.0) FLAC__window_partial_tukey(window, L, 1, start, end); @@ -240,7 +240,7 @@ void FLAC__window_punchout_tukey(FLAC__real *window, const FLAC__int32 L, const FLAC__int32 Ns, Ne, n, i; if (p <= 0.0) - FLAC__window_partial_tukey(window, L, 0.01, start, end); + FLAC__window_partial_tukey(window, L, 0.01f, start, end); else if (p >= 1.0) FLAC__window_partial_tukey(window, L, 1, start, end);