Mercurial > hg > svcore
changeset 1205:16955f929d37
Compiler warning fixes
| author | Chris Cannam | 
|---|---|
| date | Tue, 16 Aug 2016 16:49:22 +0100 | 
| parents | 79f7af8873c9 | 
| children | fef49844b3f8 6a7ea3bd0e10 | 
| files | plugin/plugins/SamplePlayer.cpp | 
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] | 
line wrap: on
 line diff
--- a/plugin/plugins/SamplePlayer.cpp Mon Mar 21 10:02:21 2016 +0000 +++ b/plugin/plugins/SamplePlayer.cpp Tue Aug 16 16:49:22 2016 +0100 @@ -571,7 +571,7 @@ if (m_concertA) { ratio *= *m_concertA / 440.f; } - if (m_basePitch && n != *m_basePitch) { + if (m_basePitch && float(n) != *m_basePitch) { ratio *= powf(1.059463094f, float(n) - *m_basePitch); } }
