Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
974:6645b6b8356f | 989:3871dffc31bd |
---|---|
86 frame = right; | 86 frame = right; |
87 break; | 87 break; |
88 | 88 |
89 case SnapNearest: | 89 case SnapNearest: |
90 { | 90 { |
91 if (labs(frame - left) > labs(right - frame)) { | 91 if (llabs(frame - left) > llabs(right - frame)) { |
92 frame = right; | 92 frame = right; |
93 } else { | 93 } else { |
94 frame = left; | 94 frame = left; |
95 } | 95 } |
96 break; | 96 break; |