diff options
-rw-r--r-- | tracker-easy/point-extractor.cpp | 2 | ||||
-rw-r--r-- | tracker-easy/tracker-easy-dialog.cpp | 2 |
2 files changed, 2 insertions, 2 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++) diff --git a/tracker-easy/tracker-easy-dialog.cpp b/tracker-easy/tracker-easy-dialog.cpp index fe0091c5..411639d5 100644 --- a/tracker-easy/tracker-easy-dialog.cpp +++ b/tracker-easy/tracker-easy-dialog.cpp @@ -189,7 +189,7 @@ namespace EasyTracker if (tracker) { QMutexLocker l(&tracker->camera_mtx); - tracker->camera->show_dialog(); + (void)tracker->camera->show_dialog(); } else (void)video::show_dialog(s.camera_name); |