diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 0cf0bbf76..1eb400263 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -633,12 +633,12 @@ return currentEntry; } -- (void)setCurrentEntry:(id)pe +- (void)setCurrentEntry:(PlaylistEntry *)pe { [currentEntry setCurrent:NO]; [pe setCurrent:YES]; - [tableView scrollRowToVisible:[(PlaylistEntry *)pe index]]; + [tableView scrollRowToVisible:[pe index]]; [pe retain]; [currentEntry release];