aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2005-05-09 22:38:44 +0000
committerPaweł Kołodziejski2005-05-09 22:38:44 +0000
commit39cb499fcf7e1af3354e8ac77dac03d04a48ce79 (patch)
tree9db277462e52606570ccbc6a9eceee6e7aa76e96
parent52bbc867979b1453f98191718c3eca726cc9ff8e (diff)
downloadscummvm-rg350-39cb499fcf7e1af3354e8ac77dac03d04a48ce79.tar.gz
scummvm-rg350-39cb499fcf7e1af3354e8ac77dac03d04a48ce79.tar.bz2
scummvm-rg350-39cb499fcf7e1af3354e8ac77dac03d04a48ce79.zip
fixed warning
svn-id: r18012
-rw-r--r--sound/softsynth/mt32/tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/mt32/tables.cpp b/sound/softsynth/mt32/tables.cpp
index 35b1672d40..199221986e 100644
--- a/sound/softsynth/mt32/tables.cpp
+++ b/sound/softsynth/mt32/tables.cpp
@@ -164,7 +164,7 @@ void Tables::initEnvelopes(float samplerate) {
if (elf == 0) {
envDeltaMaxTime[lf] = 63;
} else {
- float cap = 11 * log(elf) + 64;
+ float cap = 11 * (float)log(elf) + 64;
if (cap > 100.0f) {
cap = 100.0f;
}