[vlc-commits] playlist: remove redundant cast

Rémi Denis-Courmont git at videolan.org
Wed Apr 19 19:50:10 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:38:09 2017 +0300| [f2891681bfe54347cfb94c274de6e152a0cd9827] | committer: Rémi Denis-Courmont

playlist: remove redundant cast

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

 modules/demux/playlist/playlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/playlist/playlist.c b/modules/demux/playlist/playlist.c
index 23f928278d..7136bcb17d 100644
--- a/modules/demux/playlist/playlist.c
+++ b/modules/demux/playlist/playlist.c
@@ -149,7 +149,7 @@ int Control(demux_t *demux, int query, va_list args)
     {
         case DEMUX_IS_PLAYLIST:
         {
-            bool *pb_bool = (bool*)va_arg( args, bool * );
+            bool *pb_bool = va_arg( args, bool * );
             *pb_bool = true;
             return VLC_SUCCESS;
         }



More information about the vlc-commits mailing list