# HG changeset patch # User Karl Heuer # Date 896802724 0 # Node ID 0af99a2dc70623a0f1180ebd525aa1944f4bb066 # Parent 124e852c4cdfe592c93b1b2066aaf83575ac6980 (sys_subshell): Cast arg to chdir. (init_sys_modes): Cast arg to setbuf or setvbuf. diff -r 124e852c4cdf -r 0af99a2dc706 src/sysdep.c --- a/src/sysdep.c Tue Jun 02 15:49:47 1998 +0000 +++ b/src/sysdep.c Tue Jun 02 15:52:04 1998 +0000 @@ -796,7 +796,7 @@ /* Use our buffer's default directory for the subshell. */ if (str) - chdir (str); + chdir ((char *) str); #ifdef subprocesses close_process_descs (); /* Close Emacs's pipes/ptys */ @@ -1570,9 +1570,9 @@ /* This symbol is defined on recent USG systems. Someone says without this call USG won't really buffer the file even with a call to setbuf. */ - setvbuf (stdout, _sobuf, _IOFBF, sizeof _sobuf); + setvbuf (stdout, (char *) _sobuf, _IOFBF, sizeof _sobuf); #else - setbuf (stdout, _sobuf); + setbuf (stdout, (char *) _sobuf); #endif #ifdef HAVE_WINDOW_SYSTEM /* Emacs' window system on MSDOG uses the `internal terminal' and therefore