Commit f6e1a870 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

Ambiguity between std::log(double) and std::log(float)

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit b7255573)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 98afd051
......@@ -428,7 +428,7 @@ void SpeedControlWidget::updateControls( float rate )
return;
}
double value = 17 * log( rate ) / log( 2 );
double value = 17 * log( rate ) / log( 2. );
int sliderValue = (int) ( ( value > 0 ) ? value + .5 : value - .5 );
if( sliderValue < speedSlider->minimum() )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment