1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

2 more warnings on Windows fixed

This commit is contained in:
Vadim Pisarevsky
2013-02-13 02:32:10 +04:00
parent bd063e47d7
commit 77d647b675
+1 -1
View File
@@ -605,7 +605,7 @@ void cv::HoughLines( InputArray _image, OutputArray _lines,
if( srn == 0 && stn == 0 )
HoughLinesStandard(image, (float)rho, (float)theta, threshold, lines, INT_MAX);
else
HoughLinesSDiv(image, (float)rho, (float)theta, threshold, (float)srn, (float)stn, lines, INT_MAX);
HoughLinesSDiv(image, (float)rho, (float)theta, threshold, cvRound(srn), cvRound(stn), lines, INT_MAX);
Mat(lines).copyTo(_lines);
}