From 6160d599a8b3ec6753ad8c2d53900d060ad2b3cd Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Wed, 7 Oct 2015 09:45:18 +0200 Subject: [PATCH] MacGui: fix build on Xcode 6.4 --- macosx/HBPreviewView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/HBPreviewView.m b/macosx/HBPreviewView.m index 5ea95b3dd..3431a8a65 100644 --- a/macosx/HBPreviewView.m +++ b/macosx/HBPreviewView.m @@ -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; -- 2.40.0