diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-21 20:19:31 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-21 20:19:31 +0100 | 
| commit | 530f61f9c8e128a1ab2834048f8cdde527c58b84 (patch) | |
| tree | 0ad765e2cada3207e75f6adb4f89a731c567549e /tracker-pt | |
| parent | 954264be24b68fbfa7cbce9c8f759643e2e3c96d (diff) | |
tracker/pt: fix clang type conversion error
Diffstat (limited to 'tracker-pt')
| -rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index d196b2ee..6110e22e 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -94,7 +94,7 @@ void Tracker_PT::run()              auto fun = [&](const vec2& p, const cv::Scalar& color)              { -                static constexpr f len = 9; +                static constexpr int len = 9;                  cv::Point p2(iround(p[0] * preview_frame.cols + preview_frame.cols/2),                               iround(-p[1] * preview_frame.cols + preview_frame.rows/2));  | 
