From f432f7836a3ec2368260a51d352188e465d9c0cc Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 26 Jan 2018 09:53:08 +0100 Subject: CLion pedantry Fix few of the inspection warnings from CLion that make any sense at all. --- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp') diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 54a4f69b..10a2c6cb 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -175,7 +175,7 @@ void TrackerDialog_PT::startstop_trans_calib(bool start) return tr("%1 pitch samples. Pitch more to %2 samples for stable calibration.") .arg(nsamples[1]).arg(min_pitch_samples); - const unsigned nsamples_total = nsamples[0] + nsamples[1]; + const int nsamples_total = nsamples[0] + nsamples[1]; return tr("%1 samples. Over %2, good!").arg(nsamples_total).arg(min_samples); ); -- cgit v1.2.3