Explorar o código

VLCVideoLayer: Xcode 8 compilation fix (closes #63)

Felix Paul Kühne %!s(int64=8) %!d(string=hai) anos
pai
achega
c438f238d5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Sources/VLCVideoLayer.m

+ 2 - 2
Sources/VLCVideoLayer.m

@@ -57,12 +57,12 @@
 
 - (BOOL)fillScreen
 {
-    return [self.layoutManager fillScreenEntirely];
+    return [(VLCVideoLayoutManager *)self.layoutManager fillScreenEntirely];
 }
 
 - (void)setFillScreen:(BOOL)fillScreen
 {
-    [self.layoutManager setFillScreenEntirely:fillScreen];
+    [(VLCVideoLayoutManager*)self.layoutManager setFillScreenEntirely:fillScreen];
     [self setNeedsLayout];
 }