Quiet some narrowing conversion warnings from VS2015
This commit is contained in:
parent
0892650465
commit
09a17c2198
9 changed files with 18 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue