aboutsummaryrefslogtreecommitdiff
path: root/iPhone
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-07-02 21:00:18 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-07-02 21:00:18 +0000
commit3899877e6114e5dbf353608ea62f5e01e226346b (patch)
treef62bc3c1ce2f761c9208388a26a2688f62a0967d /iPhone
parent2f45a5bc6397429ff536cac2ffb815dc15bc02a5 (diff)
Fix up some compiler warnings.
DELTA=7 (0 added, 0 deleted, 7 changed)
Diffstat (limited to 'iPhone')
-rwxr-xr-xiPhone/GTMFadeTruncatingLabel.m14
1 files changed, 7 insertions, 7 deletions
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);