summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-24 20:43:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-24 20:43:16 +0200
commit766ab9643471635dda821c050f854777fc67afe0 (patch)
treea380a9376e5f453e3d7d1d654a9cebb0dd4b673b /tracker-easy
parent3770bc071c0beb18a67238e98b48f86cced41e92 (diff)
tracker/easy: fix warns
Diffstat (limited to 'tracker-easy')
-rw-r--r--tracker-easy/point-extractor.cpp2
-rw-r--r--tracker-easy/tracker-easy-dialog.cpp2
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);