summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanisław Halik <sthalik@misaki.pl>2017-07-07 17:10:42 +0200
committerGitHub <noreply@github.com>2017-07-07 17:10:42 +0200
commitdc2989a8cedcd506bfa13d16bc57b5a702a204b3 (patch)
treefeac22663567716e51133734d7592da64adfd239
parentf013741288cbbd9a2e70aea727cbb80cf72d10cc (diff)
parent5ded46a80ec82137869ebd234189b1fd9ffff680 (diff)
Merge pull request #647 from achipa/unstable
Unsigned cast reformat
-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++)
{