diff options
Diffstat (limited to 'sound/softsynth/mt32/tables.cpp')
-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]; |