[vlc-commits] decomp: fix pointer type in vararg

Rémi Denis-Courmont git at videolan.org
Sun Jul 30 19:43:59 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 30 20:43:14 2017 +0300| [d9d911df76c8c48e7c6a9729e1311eed6e766c32] | committer: Rémi Denis-Courmont

decomp: fix pointer type in vararg

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

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

diff --git a/modules/stream_filter/decomp.c b/modules/stream_filter/decomp.c
index 7e7b021c8a..b253c02219 100644
--- a/modules/stream_filter/decomp.c
+++ b/modules/stream_filter/decomp.c
@@ -310,7 +310,7 @@ static int Open (stream_t *stream, const char *path)
                 case 0:
                     dup2 (comp[0], 0);
                     dup2 (uncomp[1], 1);
-                    execlp (path, path, (char *)NULL);
+                    execlp (path, path, (const char *)NULL);
                     exit (1); /* if we get, execlp() failed! */
                 default:
                     if (vlc_clone (&p_sys->thread, Thread, stream,



More information about the vlc-commits mailing list