From 8ea5222793ff3b673d505495c2caaef83555730f Mon Sep 17 00:00:00 2001 From: Vesa Date: Fri, 2 May 2014 22:55:16 +0300 Subject: [PATCH] Monstro: remove useless cast --- plugins/monstro/Monstro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/monstro/Monstro.cpp b/plugins/monstro/Monstro.cpp index fb6f7d1ad..9d99f0330 100644 --- a/plugins/monstro/Monstro.cpp +++ b/plugins/monstro/Monstro.cpp @@ -1593,14 +1593,14 @@ void MonstroInstrument::updateSamplerate() void MonstroInstrument::updateSlope1() { const float slope = m_env1Slope.value(); - m_slope1 = powf( 10.0f, static_cast( slope * -1.0f ) ); + m_slope1 = powf( 10.0f, slope * -1.0f ); } void MonstroInstrument::updateSlope2() { const float slope = m_env2Slope.value(); - m_slope2 = powf( 10.0f, static_cast( slope * -1.0f ) ); + m_slope2 = powf( 10.0f, slope * -1.0f ); }