Quiet some narrowing conversion warnings from VS2015

This commit is contained in:
Randy Heit 2016-02-05 21:43:35 -06:00
commit 09a17c2198
9 changed files with 18 additions and 18 deletions

View file

@ -190,7 +190,7 @@ void SF2Envelope::Release(Voice *v)
if (stage == SF2_ATTACK)
{
// The attack stage does not use an attenuation in cB like all the rest.
volume = log10(volume) * -200;
volume = float(log10(volume) * -200);
}
stage = SF2_RELEASE;
bUpdating = true;