[Scummvm-cvs-logs] SF.net SVN: scummvm:[40785] scummvm/trunk/sound/softsynth/mt32/tables.cpp
marcus_c at users.sourceforge.net
marcus_c at users.sourceforge.net
Fri May 22 19:15:40 CEST 2009
Revision: 40785
http://scummvm.svn.sourceforge.net/scummvm/?rev=40785&view=rev
Author: marcus_c
Date: 2009-05-22 17:15:39 +0000 (Fri, 22 May 2009)
Log Message:
-----------
Fixed a warning: printf("%f") should take a double, not a float.
Modified Paths:
--------------
scummvm/trunk/sound/softsynth/mt32/tables.cpp
Modified: scummvm/trunk/sound/softsynth/mt32/tables.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32/tables.cpp 2009-05-22 14:09:51 UTC (rev 40784)
+++ scummvm/trunk/sound/softsynth/mt32/tables.cpp 2009-05-22 17:15:39 UTC (rev 40785)
@@ -610,7 +610,7 @@
char filename[64];
int intRate = (int)rate;
char version[4] = {0, 0, 0, 5};
- sprintf(filename, "waveformcache-%d-%.2f.raw", intRate, masterTune);
+ sprintf(filename, "waveformcache-%d-%.2f.raw", intRate, (double)masterTune);
File *file = NULL;
char header[20];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list