summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SmartDeviceLink/SDLLockScreenViewController.m2
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];