summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewView.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-07 09:45:18 +0200
committerDamiano Galassi <[email protected]>2015-10-07 09:45:18 +0200
commit6160d599a8b3ec6753ad8c2d53900d060ad2b3cd (patch)
treefd13466ce0bfc89f911fd252861133ff8bd5bb82 /macosx/HBPreviewView.m
parent152c9a9c72584648b740bf8e7ff7398e21513fa4 (diff)
MacGui: fix build on Xcode 6.4
Diffstat (limited to 'macosx/HBPreviewView.m')
-rw-r--r--macosx/HBPreviewView.m2
1 files changed, 1 insertions, 1 deletions
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;