Commit 074c438c authored by Karl Heuer's avatar Karl Heuer
Browse files

(sys_subshell): Cast arg to chdir.

(init_sys_modes): Cast arg to setbuf or setvbuf.
parent ac52ebd5
......@@ -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);
setbuf (stdout, _sobuf);
setbuf (stdout, (char *) _sobuf);
/* Emacs' window system on MSDOG uses the `internal terminal' and therefore
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