diff layer/TimeRulerLayer.cpp @ 991:2adca8f05583 3.0-integration

Merge from branch simple-fft-model
author Chris Cannam
date Wed, 01 Jul 2015 18:31:28 +0100
parents a5488775f880 3871dffc31bd
children 33d7e1a6747b
line wrap: on
line diff
--- a/layer/TimeRulerLayer.cpp	Wed Jul 01 13:27:03 2015 +0100
+++ b/layer/TimeRulerLayer.cpp	Wed Jul 01 18:31:28 2015 +0100
@@ -88,7 +88,7 @@
         
     case SnapNearest:
     {
-        if (labs(frame - left) > labs(right - frame)) {
+        if (llabs(frame - left) > llabs(right - frame)) {
             frame = right;
         } else {
             frame = left;