From 3899877e6114e5dbf353608ea62f5e01e226346b Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Tue, 2 Jul 2013 21:00:18 +0000 Subject: Fix up some compiler warnings. DELTA=7 (0 added, 0 deleted, 7 changed) --- iPhone/GTMFadeTruncatingLabel.m | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'iPhone') diff --git a/iPhone/GTMFadeTruncatingLabel.m b/iPhone/GTMFadeTruncatingLabel.m index 440cc0e..c7b288c 100755 --- a/iPhone/GTMFadeTruncatingLabel.m +++ b/iPhone/GTMFadeTruncatingLabel.m @@ -83,13 +83,13 @@ fadeTail:(BOOL)fadeTail { // Create an opaque context. CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceGray(); - CGContextRef context = CGBitmapContextCreate (NULL, - rect.size.width, - rect.size.height, - 8, - 4*rect.size.width, - colorSpace, - kCGImageAlphaNone); + CGContextRef context = CGBitmapContextCreate(NULL, + rect.size.width, + rect.size.height, + 8, + 4*rect.size.width, + colorSpace, + (CGBitmapInfo)kCGImageAlphaNone); // White background will mask opaque, black gradient will mask transparent. CGContextSetFillColorWithColor(context, [UIColor whiteColor].CGColor); -- cgit v1.2.3