diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-07-02 21:00:18 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-07-02 21:00:18 +0000 |
commit | 3899877e6114e5dbf353608ea62f5e01e226346b (patch) | |
tree | f62bc3c1ce2f761c9208388a26a2688f62a0967d /iPhone | |
parent | 2f45a5bc6397429ff536cac2ffb815dc15bc02a5 (diff) |
Fix up some compiler warnings.
DELTA=7 (0 added, 0 deleted, 7 changed)
Diffstat (limited to 'iPhone')
-rwxr-xr-x | iPhone/GTMFadeTruncatingLabel.m | 14 |
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); |