From 6da602b5f5d8897834657c053727602aaa0e6fa9 Mon Sep 17 00:00:00 2001 From: Joel Fischer Date: Thu, 13 Oct 2016 13:13:24 -0400 Subject: Revert "Changed deviceScale type to silence build warning" This reverts commit e220430734ed5603a7fb4c1b24d37252669b98fb. --- SmartDeviceLink/SDLLockScreenViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.1