diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-15 23:52:05 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-15 23:52:05 +0200 |
commit | 6dbe10dcfd1a4d203158c9743889756ea7546882 (patch) | |
tree | 72978b5843faa21b65d29853e2f4186b977d6c19 /libs/ardour/ltc_slave.cc | |
parent | 9bf381db0a5b3a85e1a3dc85f3b9aa4098423554 (diff) |
-Wabsolute-value fix
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r-- | libs/ardour/ltc_slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index 5f15f460f8..621984702d 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -562,7 +562,7 @@ LTC_Slave::speed_and_position (double& speed, framepos_t& pos) speed = 1.0; } - if (speed != 0 && delayedlocked == 0 && fabsf(speed) != 1.0) { + if (speed != 0 && delayedlocked == 0 && fabs(speed) != 1.0) { sync_lock_broken = true; DEBUG_TRACE (DEBUG::LTC, string_compose ("LTC speed not locked %1 %2\n", speed, ltc_speed)); } |