From b8272dabb295ff8c92cde01d8a3170aae9b180a6 Mon Sep 17 00:00:00 2001 From: Attila Csipa Date: Fri, 7 Jul 2017 13:05:11 +0100 Subject: Unsigned cast reformat --- tracker-pt/point_extractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp index a23d1cdf..fbd84799 100644 --- a/tracker-pt/point_extractor.cpp +++ b/tracker-pt/point_extractor.cpp @@ -145,7 +145,7 @@ void PointExtractor::extract_points(const cv::Mat& frame, cv::Mat& preview_frame contours.clear(); cv::findContours(frame_bin, contours, cv::RETR_LIST, cv::CHAIN_APPROX_SIMPLE); - const unsigned cnt = std::min(unsigned(max_blobs), contours.size()); + const unsigned cnt = std::min(max_blobs, contours.size()); for (unsigned k = 0; k < cnt; k++) { -- cgit v1.2.3