[vlc-commits] vlmshell: missing cast

Rémi Denis-Courmont git at videolan.org
Mon Dec 3 18:45:16 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec  3 19:41:17 2018 +0200| [93386cc6e79c862345541bc47e435c60f70a2bcf] | committer: Rémi Denis-Courmont

vlmshell: missing cast

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

 src/input/vlmshell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c
index 828b81bfe8..b536df1fc9 100644
--- a/src/input/vlmshell.c
+++ b/src/input/vlmshell.c
@@ -405,7 +405,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
         }
 
         if( p_media->cfg.b_vod )
-            i_result = vlm_ControlInternal( p_vlm, VLM_START_MEDIA_VOD_INSTANCE, p_media->cfg.id, psz_instance, i_input_index, NULL );    // we should get here now
+            i_result = vlm_ControlInternal( p_vlm, VLM_START_MEDIA_VOD_INSTANCE, p_media->cfg.id, psz_instance, i_input_index, (const char *)NULL );    // we should get here now
         else
             i_result = vlm_ControlInternal( p_vlm, VLM_START_MEDIA_BROADCAST_INSTANCE, p_media->cfg.id, psz_instance, i_input_index );
     }



More information about the vlc-commits mailing list