diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-24 20:43:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-24 20:43:16 +0200 |
commit | 766ab9643471635dda821c050f854777fc67afe0 (patch) | |
tree | a380a9376e5f453e3d7d1d654a9cebb0dd4b673b /tracker-easy/point-extractor.cpp | |
parent | 3770bc071c0beb18a67238e98b48f86cced41e92 (diff) |
tracker/easy: fix warns
Diffstat (limited to 'tracker-easy/point-extractor.cpp')
-rw-r--r-- | tracker-easy/point-extractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-easy/point-extractor.cpp b/tracker-easy/point-extractor.cpp index 61175a57..f17fcde6 100644 --- a/tracker-easy/point-extractor.cpp +++ b/tracker-easy/point-extractor.cpp @@ -136,7 +136,7 @@ namespace EasyTracker while (aPoints.size() > KPointCount) // Until we have no more than three points { int maxY = 0; - size_t index = -1; + unsigned index = (unsigned)-1; // Search for the point with highest Y coordinate for (size_t i = 0; i < aPoints.size(); i++) |