From 766ab9643471635dda821c050f854777fc67afe0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 24 Apr 2019 20:43:16 +0200 Subject: tracker/easy: fix warns --- tracker-easy/point-extractor.cpp | 2 +- tracker-easy/tracker-easy-dialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-easy') 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); -- cgit v1.2.3