[Scummvm-cvs-logs] CVS: scummvm/sound/softsynth/mt32 tables.cpp,1.3,1.4
Pawel Kolodziejski
aquadran at users.sourceforge.net
Mon May 9 15:40:10 CEST 2005
Update of /cvsroot/scummvm/scummvm/sound/softsynth/mt32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17801
Modified Files:
tables.cpp
Log Message:
fixed warning
Index: tables.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/softsynth/mt32/tables.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- tables.cpp 8 May 2005 21:49:51 -0000 1.3
+++ tables.cpp 9 May 2005 22:38:44 -0000 1.4
@@ -164,7 +164,7 @@
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;
}
More information about the Scummvm-git-logs
mailing list