diff options
author | Stanisław Halik <sthalik@misaki.pl> | 2017-07-07 17:10:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 17:10:42 +0200 |
commit | dc2989a8cedcd506bfa13d16bc57b5a702a204b3 (patch) | |
tree | feac22663567716e51133734d7592da64adfd239 | |
parent | f013741288cbbd9a2e70aea727cbb80cf72d10cc (diff) | |
parent | 5ded46a80ec82137869ebd234189b1fd9ffff680 (diff) |
Merge pull request #647 from achipa/unstable
Unsigned cast reformat
-rw-r--r-- | tracker-pt/point_extractor.cpp | 2 |
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++) { |