From cd6d7a80747f594e46ca956b56787f5bf88ecfa7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 8 Feb 2023 03:50:21 +0100 Subject: [PATCH] Fix another -Wabsolute-value --- gtk2_ardour/mono_panner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/mono_panner.cc b/gtk2_ardour/mono_panner.cc index fa5e69ea2a..072323b52d 100644 --- a/gtk2_ardour/mono_panner.cc +++ b/gtk2_ardour/mono_panner.cc @@ -420,7 +420,7 @@ MonoPanner::on_motion_notify_event (GdkEventMotion* ev) double delta = (ev->x - last_drag_x) / (double) w; /* create a detent close to the center, at approx 1/180 deg */ - if (!detented && fabsf (position_control->get_value() - .5f) < 0.006f) { + if (!detented && fabs (position_control->get_value() - .5) < 0.006) { detented = true; /* snap to center */ position_control->set_value (0.5, Controllable::NoGroup);