]> granicus.if.org Git - handbrake/commitdiff
MacGui: fix build on Xcode 6.4
authorDamiano Galassi <damiog@gmail.com>
Wed, 7 Oct 2015 07:45:18 +0000 (09:45 +0200)
committerDamiano Galassi <damiog@gmail.com>
Wed, 7 Oct 2015 07:45:18 +0000 (09:45 +0200)
macosx/HBPreviewView.m

index 5ea95b3ddaec44bdae6692d034cd693317d1d134..3431a8a653ac4439c51ee9a2c124b57010082eb0 100644 (file)
@@ -93,7 +93,7 @@
 - (void)setImage:(CGImageRef)image
 {
     _image = image;
-    self.pictureLayer.contents = (__bridge id _Nullable)(image);
+    self.pictureLayer.contents = (__bridge id)(image);
 
     // Hide the layers if there is no image
     BOOL hidden = _image == nil ? YES : NO;