diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-10-13 13:13:24 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-10-13 13:13:24 -0400 |
commit | 6da602b5f5d8897834657c053727602aaa0e6fa9 (patch) | |
tree | ed1c21a64ec70a929e65f9192a7449266bf641e5 | |
parent | e220430734ed5603a7fb4c1b24d37252669b98fb (diff) | |
download | sdl_ios-6da602b5f5d8897834657c053727602aaa0e6fa9.tar.gz |
Revert "Changed deviceScale type to silence build warning"
This reverts commit e220430734ed5603a7fb4c1b24d37252669b98fb.
-rw-r--r-- | SmartDeviceLink/SDLLockScreenViewController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLLockScreenViewController.m b/SmartDeviceLink/SDLLockScreenViewController.m index aec0baf6c..eb2722207 100644 --- a/SmartDeviceLink/SDLLockScreenViewController.m +++ b/SmartDeviceLink/SDLLockScreenViewController.m @@ -168,7 +168,7 @@ NS_ASSUME_NONNULL_BEGIN + (UIImage*)sdl_imageWithName:(NSString*)name { if (SDL_SYSTEM_VERSION_LESS_THAN(@"8.0")) { NSString* bundlePath = [[NSBundle sdlBundle] bundlePath]; - int deviceScale = [[UIScreen mainScreen] scale]; + NSInteger deviceScale = [[UIScreen mainScreen] scale]; // We assume we are only dealing with PNGs. NSString* fileName = [NSString stringWithFormat:@"%@%i.png", name, deviceScale]; NSString* fullPath = [NSString stringWithFormat:@"%@/%@", bundlePath, fileName]; |