diff options
author | Marcus Comstedt | 2009-05-22 17:15:39 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-05-22 17:15:39 +0000 |
commit | 64e75b91b787e0199b73949a4642cdd665b120f2 (patch) | |
tree | 85fe3b8e6558190417694d41b8c9a49b05266d03 | |
parent | cc35c15f395bdbcecc38b8699c73ea341886244a (diff) | |
download | scummvm-rg350-64e75b91b787e0199b73949a4642cdd665b120f2.tar.gz scummvm-rg350-64e75b91b787e0199b73949a4642cdd665b120f2.tar.bz2 scummvm-rg350-64e75b91b787e0199b73949a4642cdd665b120f2.zip |
Fixed a warning: printf("%f") should take a double, not a float.
svn-id: r40785
-rw-r--r-- | sound/softsynth/mt32/tables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/mt32/tables.cpp b/sound/softsynth/mt32/tables.cpp index 0ae8e9892a..bf35db776a 100644 --- a/sound/softsynth/mt32/tables.cpp +++ b/sound/softsynth/mt32/tables.cpp @@ -610,7 +610,7 @@ bool Tables::initNotes(Synth *synth, PCMWaveEntry *pcmWaves, float rate, float m 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]; |