From 5a1959f0cf998a8ecae0a78a9d21d2c0d9da3e76 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 2 Oct 2011 22:01:51 -0700 Subject: Make a floating-point constant a float type --- Alc/alcReverb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c index 589be6e3..f194d7ab 100644 --- a/Alc/alcReverb.c +++ b/Alc/alcReverb.c @@ -781,7 +781,7 @@ static __inline ALfloat CalcDecayCoeff(ALfloat length, ALfloat decayTime) // reaches -60 dB. static __inline ALfloat CalcDecayLength(ALfloat coeff, ALfloat decayTime) { - return aluLog10(coeff) * decayTime / aluLog10(0.001)/*-60 dB*/; + return aluLog10(coeff) * decayTime / aluLog10(0.001f)/*-60 dB*/; } // Calculate the high frequency parameter for the I3DL2 coefficient -- cgit v1.2.3