aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-07-27 21:46:16 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-07-27 21:46:16 -0700
commitc543c2101f7d5903a12841c4fec9e6198a5f139f (patch)
treefea285a865f066752642f7d97237369c55a384f3 /example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm
parent20a9e848a60b7cf2bd8f4dae2deb804ef99b5b93 (diff)
Make example use libc++
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm')
-rwxr-xr-xexample/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm b/example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm
index ca3aecfc..ed41fd87 100755
--- a/example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm
+++ b/example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm
@@ -249,9 +249,9 @@ typedef void (^DownloadCallback)(NSError * error);
return nil;
info = [[NSMutableDictionary alloc] init];
- [info setObject:(id) kCFBooleanTrue forKey:(id) kCGImageSourceCreateThumbnailWithTransform];
- [info setObject:(id) kCFBooleanTrue forKey:(id) kCGImageSourceCreateThumbnailFromImageAlways];
- [info setObject:(id) [NSNumber numberWithFloat:(float) IMAGE_PREVIEW_WIDTH] forKey:(id) kCGImageSourceThumbnailMaxPixelSize];
+ [info setObject:(id) kCFBooleanTrue forKey:(__bridge id) kCGImageSourceCreateThumbnailWithTransform];
+ [info setObject:(id) kCFBooleanTrue forKey:(__bridge id) kCGImageSourceCreateThumbnailFromImageAlways];
+ [info setObject:(id) [NSNumber numberWithFloat:(float) IMAGE_PREVIEW_WIDTH] forKey:(__bridge id) kCGImageSourceThumbnailMaxPixelSize];
thumbnail = CGImageSourceCreateThumbnailAtIndex(imageSource, 0, (__bridge CFDictionaryRef) info);
CGImageDestinationRef destination;