diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-18 16:42:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-18 16:42:14 +0200 |
commit | d1b8c00a681dd41a216b2b88b7e7568c5c7af8a4 (patch) | |
tree | 4d64e40ad1b4eebebda97716c356b13df6cbfffd /tracker-pt/ftnoir_tracker_pt_dialog.cpp | |
parent | cd5e1d7b9309eaf7fd546e98ce7f4312a81e107f (diff) |
tracker/pt: fix -Werror
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index ee80fe6f..ccedeb78 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -110,9 +110,9 @@ void TrackerDialog_PT::startstop_trans_calib(bool start) s.t_MH_y = int(tmp[1]); s.t_MH_z = int(tmp[2]); - static constexpr unsigned min_yaw_samples = 15; - static constexpr unsigned min_pitch_samples = 15; - static constexpr unsigned min_samples = min_yaw_samples+min_pitch_samples; + static constexpr int min_yaw_samples = 15; + static constexpr int min_pitch_samples = 15; + static constexpr int min_samples = min_yaw_samples+min_pitch_samples; // Don't bother counting roll samples. Roll calibration is hard enough // that it's a hidden unsupported feature anyway. |