Commit 33d1c8ff authored by Jarosław Staniek's avatar Jarosław Staniek

SVN_SILENT (msvc) fix 'unclear overload' error


svn path=/trunk/koffice/; revision=1012625
parent 58820513
......@@ -197,7 +197,7 @@ void KisLevelConfigWidget::slotDrawHistogram(bool logarithmic)
for (int i = 0; i < wWidth; i++) {
int binNo = (int)round((double)i / wWidth * (bins - 1)) ;
if ((int)histogram->getValue(binNo) != 0)
p.drawLine(i, wHeightMinusOne, i, wHeightMinusOne - log(histogram->getValue(binNo)) * factor);
p.drawLine(i, wHeightMinusOne, i, wHeightMinusOne - log((double)histogram->getValue(binNo)) * factor);
}
}
......
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