aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/mt32/tables.cpp
diff options
context:
space:
mode:
authorMarcus Comstedt2009-05-22 17:15:39 +0000
committerMarcus Comstedt2009-05-22 17:15:39 +0000
commit64e75b91b787e0199b73949a4642cdd665b120f2 (patch)
tree85fe3b8e6558190417694d41b8c9a49b05266d03 /sound/softsynth/mt32/tables.cpp
parentcc35c15f395bdbcecc38b8699c73ea341886244a (diff)
downloadscummvm-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
Diffstat (limited to 'sound/softsynth/mt32/tables.cpp')
-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 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];