# HG changeset patch # User michael # Date 1273774004 0 # Node ID 87851e2b449a3ceaa47343657cef57cca7b4399a # Parent 5aa83c5fb2c9339bf6b62dba18ec7be972f4baec 1.0 and the resulting exactly representable value must be marked as float as well, gcc is hopelessly trash. diff -r 5aa83c5fb2c9 -r 87851e2b449a mpegaudiodec.c --- a/mpegaudiodec.c Thu May 13 17:58:17 2010 +0000 +++ b/mpegaudiodec.c Thu May 13 18:06:44 2010 +0000 @@ -40,7 +40,7 @@ #include "mathops.h" #if CONFIG_FLOAT -# define SHR(a,b) ((a)*(1.0/(1<<(b)))) +# define SHR(a,b) ((a)*(1.0f/(1<<(b)))) # define compute_antialias compute_antialias_float # define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5)) # define FIXR(x) ((float)(x))