Fixed a warning: printf("%f") should take a double, not a float.

svn-id: r40785
This commit is contained in:
Marcus Comstedt 2009-05-22 17:15:39 +00:00
parent cc35c15f39
commit 64e75b91b7

View File

@ -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];