summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorattila-csipa <attila.csipa@hp.com>2017-07-07 13:05:11 +0100
committerattila-csipa <attila.csipa@hp.com>2017-07-07 13:05:11 +0100
commit816c857c513e42a0b2583c2ab7bd89610f968f93 (patch)
tree631a46bfb3bdc14c26147dfd6c1b5497ec852e38 /tracker-pt
parent6ee550ecbad85c6bce796d04b3238a4c0a491205 (diff)
Unsigned cast reformat
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/point_extractor.cpp2
1 files changed, 1 insertions, 1 deletions
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<unsigned>(max_blobs, contours.size());
for (unsigned k = 0; k < cnt; k++)
{