From d95a684ca148dff8fa8bc80e4bd4616488b122a5 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 22 Oct 1997 05:40:53 +0000 Subject: [PATCH] Eliminate compiler warnings. --- v7/src/microcode/uxproc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/microcode/uxproc.c b/v7/src/microcode/uxproc.c index 8951aaab5..61631920c 100644 --- a/v7/src/microcode/uxproc.c +++ b/v7/src/microcode/uxproc.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: uxproc.c,v 1.21 1997/10/22 05:25:31 cph Exp $ +$Id: uxproc.c,v 1.22 1997/10/22 05:40:53 cph Exp $ Copyright (c) 1990-97 Massachusetts Institute of Technology @@ -261,7 +261,7 @@ DEFUN (OS_make_subprocess, enum process_jc_status child_jc_status; if (envp == 0) - envp = environ; + envp = ((CONST char **) environ); switch (ctty_type) { case process_ctty_type_none: @@ -421,7 +421,7 @@ DEFUN (OS_make_subprocess, UX_initialize_child_signals (); /* Start the process. */ - execve (filename, argv, envp); + execve (filename, ((char * CONST *) argv), ((char * CONST *) envp)); kill_child: _exit (1); } -- 2.25.1