Commit 2d607244 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fcall_process): Cast new_argv for child_setup.

parent 88623f1c
......@@ -210,6 +210,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
char *bufptr = buf;
int bufsize = 16384;
int count = specpdl_ptr - specpdl;
register unsigned char **new_argv
= (unsigned char **) alloca ((max (2, nargs - 2)) * sizeof (char *));
struct buffer *old = current_buffer;
......@@ -579,7 +580,8 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
}
#else /* not MSDOS */
#ifdef WINDOWSNT
pid = child_setup (filefd, fd1, fd_error, new_argv, 0, current_dir);
pid = child_setup (filefd, fd1, fd_error, (char **) new_argv,
0, current_dir);
#else /* not WINDOWSNT */
pid = vfork ();
......@@ -595,7 +597,8 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
#else
setpgrp (pid, pid);
#endif /* USG */
child_setup (filefd, fd1, fd_error, new_argv, 0, current_dir);
child_setup (filefd, fd1, fd_error, (char **) new_argv,
0, current_dir);
}
#endif /* not WINDOWSNT */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment