mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
fixed multiple GCC warnings on Ubuntu 11.04
This commit is contained in:
@@ -797,7 +797,11 @@ void CV_MinCircleTest::run_func()
|
||||
if(!test_cpp)
|
||||
cvMinEnclosingCircle( points, ¢er, &radius );
|
||||
else
|
||||
cv::minEnclosingCircle(cv::cvarrToMat(points), (cv::Point2f&)center, radius);
|
||||
{
|
||||
cv::Point2f tmpcenter;
|
||||
cv::minEnclosingCircle(cv::cvarrToMat(points), tmpcenter, radius);
|
||||
center = tmpcenter;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user