decomp: fix pointer type in vararg
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 30 Jul 2017 17:43:14 +0000 (20:43 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 30 Jul 2017 17:43:43 +0000 (20:43 +0300)
modules/stream_filter/decomp.c

index 7e7b021..b253c02 100644 (file)
@@ -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,