diff options
author | Abhi Beckert <abhi@abhibeckert.com> | 2016-04-03 10:06:33 +1000 |
---|---|---|
committer | Abhi Beckert <abhi@abhibeckert.com> | 2016-04-03 10:06:41 +1000 |
commit | 6672e0d55810a7447fd06ef1113ad88473ba7538 (patch) | |
tree | 841c95ecacd2f1d7b34211e95490b130985e2535 /Frameworks/PSMTabBar/PSMTabBarControl.m | |
parent | 128add6d3e731a83d813ad69ee1e773776bb8e69 (diff) | |
download | sequelpro-6672e0d55810a7447fd06ef1113ad88473ba7538.tar.gz sequelpro-6672e0d55810a7447fd06ef1113ad88473ba7538.tar.bz2 sequelpro-6672e0d55810a7447fd06ef1113ad88473ba7538.zip |
fix various compile warnings
Diffstat (limited to 'Frameworks/PSMTabBar/PSMTabBarControl.m')
-rw-r--r-- | Frameworks/PSMTabBar/PSMTabBarControl.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabBarControl.m b/Frameworks/PSMTabBar/PSMTabBarControl.m index 9b38d6d1..e9fc6c8b 100644 --- a/Frameworks/PSMTabBar/PSMTabBarControl.m +++ b/Frameworks/PSMTabBar/PSMTabBarControl.m @@ -1408,8 +1408,8 @@ return; } - CGFloat dx = fabsf(currentPoint.x - trackingStartPoint.x); - CGFloat dy = fabsf(currentPoint.y - trackingStartPoint.y); + CGFloat dx = fabs(currentPoint.x - trackingStartPoint.x); + CGFloat dy = fabs(currentPoint.y - trackingStartPoint.y); CGFloat distance = sqrtf(dx * dx + dy * dy); if (distance >= 10 && !_didDrag && ![[PSMTabDragAssistant sharedDragAssistant] isDragging] && |