summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-12 12:56:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-13 10:29:37 +0100
commit9d1d9154a8d0fdd2c41a061acaf9fe4d947757fa (patch)
tree21a69889132380da4213e804dd1646b4082ad088 /tracker-pt/ftnoir_tracker_pt_dialog.cpp
parent6ecaabf95842b6048088890e28c39f1578ab35cf (diff)
fix signedness/conversion warnings
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
index 87f4069f..51a5c74f 100644
--- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp
+++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
@@ -134,7 +134,7 @@ QString TrackerDialog_PT::threshold_display_text(int threshold_value)
h = info.res_y;
}
- double value = pt_point_extractor::threshold_radius_value(w, h, threshold_value);
+ double value = (double)pt_point_extractor::threshold_radius_value(w, h, threshold_value);
return tr("LED radius %1 pixels").arg(value, 0, 'f', 2);
}