vlc/vlc-2.0 | branch: master | Felix Paul Kühne <[email protected]> | Sun Feb 19 21:35:17 2012 +0100| [19e20ad7a98b3b3cece81ec3804d3812b146bb0f] | committer: Jean-Baptiste Kempf
macosx: fixed 2 long standing compilation warnings (cherry picked from commit 91457387941dd1198f03527cbc6088dde7c00988) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=19e20ad7a98b3b3cece81ec3804d3812b146bb0f --- 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
