summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-12-14 14:00:31 -0500
committerJoel Fischer <joeljfischer@gmail.com>2017-12-14 14:00:31 -0500
commit55a7db93bc9622f6b72456393135c4215ede80ed (patch)
tree44b6652da1c334b5023495997028fd11c0823e9a
parent4c44838ff5cb6d301668c7635613f9563c84dee6 (diff)
downloadsdl_ios-55a7db93bc9622f6b72456393135c4215ede80ed.tar.gz
Fix an implicit cast
-rwxr-xr-xSmartDeviceLink/SDLCarWindow.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLCarWindow.m b/SmartDeviceLink/SDLCarWindow.m
index dfc4377c3..7238cdb5e 100755
--- a/SmartDeviceLink/SDLCarWindow.m
+++ b/SmartDeviceLink/SDLCarWindow.m
@@ -127,7 +127,7 @@ NS_ASSUME_NONNULL_BEGIN
// And start up the displayLink
self.displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(sdl_sendFrame:)];
if (SDL_SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"10")) {
- self.displayLink.preferredFramesPerSecond = self.targetFramerate;
+ self.displayLink.preferredFramesPerSecond = (NSInteger)self.targetFramerate;
} else {
self.displayLink.frameInterval = 60/self.targetFramerate;
}