From 77d647b67504f83fd43192c258c8325bff63eeab Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Wed, 13 Feb 2013 02:32:10 +0400 Subject: [PATCH] 2 more warnings on Windows fixed --- modules/imgproc/src/hough.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/hough.cpp b/modules/imgproc/src/hough.cpp index d1ecfa64ee..29fe7136b2 100644 --- a/modules/imgproc/src/hough.cpp +++ b/modules/imgproc/src/hough.cpp @@ -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); }