Commit 19e20ad7 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: fixed 2 long standing compilation warnings

(cherry picked from commit 91457387941dd1198f03527cbc6088dde7c00988)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d6ecd346
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment