summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-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;