directory: remove redundant cast
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Apr 2017 17:35:03 +0000 (20:35 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Apr 2017 17:46:56 +0000 (20:46 +0300)
modules/demux/directory.c

index 65e19e2..ffc87b0 100644 (file)
@@ -53,7 +53,7 @@ static 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;
         }