Skip to content

Commit

Permalink
Fixing a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Tham committed Feb 19, 2014
1 parent 87fb587 commit 908b250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ApptentiveConnect/source/Misc/ATUtilities.m
Expand Up @@ -197,7 +197,7 @@ + (UIImage *)imageByScalingImage:(UIImage *)image toSize:(CGSize)size scale:(CGF
newAlphaInfo = kCGImageAlphaPremultipliedFirst;
}

bitmapContext = CGBitmapContextCreate(NULL, newWidth, newHeight, CGImageGetBitsPerComponent(imageRef), bytesPerRow, CGImageGetColorSpace(imageRef), newAlphaInfo);
bitmapContext = CGBitmapContextCreate(NULL, newWidth, newHeight, CGImageGetBitsPerComponent(imageRef), bytesPerRow, CGImageGetColorSpace(imageRef), (CGBitmapInfo)newAlphaInfo);
CGContextSetInterpolationQuality(bitmapContext, kCGInterpolationHigh);

// The iPhone tries to be "smart" about image orientation, and messes it
Expand Down

0 comments on commit 908b250

Please sign in to comment.