aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-10-02 22:01:51 -0700
committerChris Robinson <[email protected]>2011-10-02 22:01:51 -0700
commit5a1959f0cf998a8ecae0a78a9d21d2c0d9da3e76 (patch)
tree3ff04555fce2ff9e006d53a0ce26413a073f58e4
parent7f5074949ea8d92301179e14b49735147d9fa5e5 (diff)
Make a floating-point constant a float type
-rw-r--r--Alc/alcReverb.c2
1 files changed, 1 insertions, 1 deletions
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