diff options
author | Chris Robinson <[email protected]> | 2011-10-02 22:01:51 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-10-02 22:01:51 -0700 |
commit | 5a1959f0cf998a8ecae0a78a9d21d2c0d9da3e76 (patch) | |
tree | 3ff04555fce2ff9e006d53a0ce26413a073f58e4 /Alc | |
parent | 7f5074949ea8d92301179e14b49735147d9fa5e5 (diff) |
Make a floating-point constant a float type
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alcReverb.c | 2 |
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 |