From: Karl Heuer Date: Tue, 2 Jun 1998 15:52:04 +0000 (+0000) Subject: (sys_subshell): Cast arg to chdir. X-Git-Tag: emacs-20.3~741 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=074c438cbb211cf98e85bdcc525288bab91e1af4;p=emacs.git (sys_subshell): Cast arg to chdir. (init_sys_modes): Cast arg to setbuf or setvbuf. --- diff --git a/src/sysdep.c b/src/sysdep.c index 4fad9bc1ed9..ca4e7b57197 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -796,7 +796,7 @@ sys_subshell () /* 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 @@ init_sys_modes () /* 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