Преглед на файлове

VLCVideoLayer: Xcode 8 compilation fix (closes #63)

Felix Paul Kühne преди 8 години
родител
ревизия
c438f238d5
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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];
 }