[vlc-commits] minimal_macosx: fixed compilation warnings

Felix Paul Kühne git at videolan.org
Fri Oct 19 13:01:49 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Oct 19 13:01:05 2012 +0200| [3ed0e622ef10baf9d429c220ab581db0495fefe2] | committer: Felix Paul Kühne

minimal_macosx: fixed compilation warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3ed0e622ef10baf9d429c220ab581db0495fefe2
---

 modules/gui/minimal_macosx/VLCOpenGLVoutView.m |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/minimal_macosx/VLCOpenGLVoutView.m b/modules/gui/minimal_macosx/VLCOpenGLVoutView.m
index ef5f264..16c548f 100644
--- a/modules/gui/minimal_macosx/VLCOpenGLVoutView.m
+++ b/modules/gui/minimal_macosx/VLCOpenGLVoutView.m
@@ -95,14 +95,14 @@ void cocoaglvoutviewEnd( vout_window_t * p_wnd )
     msg_Dbg( p_wnd, "Mac OS X Vout is closing" );
 
     if( [(id)o_cocoaglview_container respondsToSelector:@selector(removeVoutSubview:)] )
-        [o_cocoaglview_container performSelectorOnMainThread:@selector(removeVoutSubview:) withObject:p_wnd->handle.nsobject waitUntilDone:NO];
+        [(id)o_cocoaglview_container performSelectorOnMainThread:@selector(removeVoutSubview:) withObject:p_wnd->handle.nsobject waitUntilDone:NO];
 
     /* Let the view go and release it, _without_blocking_ */
-    [p_wnd->handle.nsobject performSelectorOnMainThread:@selector(removeFromSuperviewAndRelease) withObject:nil waitUntilDone:NO];
+    [(id)p_wnd->handle.nsobject performSelectorOnMainThread:@selector(removeFromSuperviewAndRelease) withObject:nil waitUntilDone:NO];
     p_wnd->handle.nsobject = nil;
 
     /* Release the container now that we don't use it */
-    [o_cocoaglview_container performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:NO];
+    [(id)o_cocoaglview_container performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:NO];
 
     [p_wnd->sys->o_pool release];
     p_wnd->sys->o_pool = nil;



More information about the vlc-commits mailing list