vlc | branch: master | Felix Paul Kühne <[email protected]> | Sun Feb 19 
21:35:17 2012 +0100| [91457387941dd1198f03527cbc6088dde7c00988] | committer: 
Felix Paul Kühne

macosx: fixed 2 long standing compilation warnings

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

 modules/gui/macosx/playlist.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 1d12022..820f40b 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -64,7 +64,7 @@
 
 - (NSMenu *)menuForEvent:(NSEvent *)o_event
 {
-    return( [[self delegate] menuForEvent: o_event] );
+    return( [(VLCPlaylist *)[self delegate] menuForEvent: o_event] );
 }
 
 - (void)keyDown:(NSEvent *)o_event
@@ -82,7 +82,7 @@
         case NSDeleteFunctionKey:
         case NSDeleteCharFunctionKey:
         case NSBackspaceCharacter:
-            [[self delegate] deleteItem:self];
+            [(VLCPlaylist *)[self delegate] deleteItem:self];
             break;
 
         case NSEnterCharacter:

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to