Fix an ambiguous call to 'floor()'

MSVC complains, so let's specify which override we want.
This commit is contained in:
John Emmas 2017-07-29 10:44:00 +01:00
parent 06c37b7c3f
commit 7f03c9a664

View File

@ -1823,7 +1823,7 @@ DummyAudioPort::setup_generator (GeneratorType const g, float const samplerate,
break;
}
_ltc_spd = 1.0;
_ltc_rand = floor(c / 4) * .001f;
_ltc_rand = floor((float)c / 4) * .001f;
if (c < 4) {
name += " (locked)";
} else {