From cbb36dc0baf1b52f2d0e01cb352e5ee69055663c Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 6 Feb 2008 12:24:44 +0000 Subject: [PATCH] Disambiguate log10 svn path=/trunk/KDE/kdebase/workspace/; revision=771566 --- effects/showfps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/showfps.cpp b/effects/showfps.cpp index 8d1bab4cf5..256c077da6 100644 --- a/effects/showfps.cpp +++ b/effects/showfps.cpp @@ -309,7 +309,7 @@ void ShowFpsEffect::paintDrawSizeGraph(int x, int y) int h = 0; if( value > 0) { - h = (int)(( log10( value ) - min_pixels_log ) * drawscale ); + h = (int)(( log10( (double)value ) - min_pixels_log ) * drawscale ); h = qMin( qMax( 0, h ) + minh, MAX_TIME ); } drawvalues.append( h );