From: Alexey Spizhevoy Date: Wed, 21 Mar 2012 08:37:24 +0000 (+0000) Subject: Fixed warning X-Git-Tag: accepted/2.0/20130307.220821~1069 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=faf845d31f60a6106738f6c3915a069d618ac742;p=profile%2Fivi%2Fopencv.git Fixed warning --- diff --git a/modules/videostab/src/deblurring.cpp b/modules/videostab/src/deblurring.cpp index 4443064..752d1e6 100644 --- a/modules/videostab/src/deblurring.cpp +++ b/modules/videostab/src/deblurring.cpp @@ -59,7 +59,7 @@ float calcBlurriness(const Mat &frame) double normGx = norm(Gx); double normGy = norm(Gx); double sumSq = normGx*normGx + normGy*normGy; - return 1.f / (sumSq / frame.size().area() + 1e-6f); + return static_cast(1. / (sumSq / frame.size().area() + 1e-6)); }