diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-08-23 12:02:43 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-08-23 12:02:43 -0700 |
commit | f1b22446bef3d5da9358fb406e71c83c18c36beb (patch) | |
tree | 8dee3b8303ecdc1350a97d7f887c374fabc18cf5 | |
parent | 81599c78f7f5710bdde362e6482879a7a0e40a76 (diff) | |
download | sdl_ios-hotfix/travis_issue_439.tar.gz |
changed CGFloat to double due to issue in adding an NSUInteger to float/double (depending on architecture).hotfix/travis_issue_439
-rw-r--r-- | SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m b/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m index 6b926e056..9ce6e50e8 100644 --- a/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m +++ b/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m @@ -338,7 +338,7 @@ describe(@"SDLTouchManager Tests", ^{ panStartTouchCoord.x = @(panStartPoint.x); panStartTouchCoord.y = @(panStartPoint.y); - CGFloat movementTimeThresholdOffset = (touchManager.movementTimeThreshold + .01) * 1000; + double movementTimeThresholdOffset = (touchManager.movementTimeThreshold + .01) * 1000; NSUInteger panStartTimeStamp = ([[NSDate date] timeIntervalSince1970] * 1000) + movementTimeThresholdOffset; |