diff layer/TimeRulerLayer.cpp @ 989:3871dffc31bd

Fix a number of warnings in the 32-bit build
author Chris Cannam
date Wed, 01 Jul 2015 15:53:54 +0100
parents 4a578a360011
children 2adca8f05583
line wrap: on
line diff
--- a/layer/TimeRulerLayer.cpp	Fri Jun 12 12:24:21 2015 +0100
+++ b/layer/TimeRulerLayer.cpp	Wed Jul 01 15:53:54 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;