summaryrefslogtreecommitdiff
path: root/libmoped/libs/opencv-tracking/include/feature_detector.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmoped/libs/opencv-tracking/include/feature_detector.h')
-rw-r--r--libmoped/libs/opencv-tracking/include/feature_detector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmoped/libs/opencv-tracking/include/feature_detector.h b/libmoped/libs/opencv-tracking/include/feature_detector.h
index f343545..433cbf2 100644
--- a/libmoped/libs/opencv-tracking/include/feature_detector.h
+++ b/libmoped/libs/opencv-tracking/include/feature_detector.h
@@ -23,7 +23,7 @@ public:
keypoints.clear();
keypoints.resize(corners.size());
- for (int i=0; i<keypoints.size(); ++i){
+ for (int i=0; i<(int)keypoints.size(); ++i){
keypoints[i] = cv::KeyPoint(corners[i], 1);
}
}