aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1998-06-02 15:52:04 +0000
committerKarl Heuer1998-06-02 15:52:04 +0000
commit074c438cbb211cf98e85bdcc525288bab91e1af4 (patch)
tree530ce5196bad3480f6d3d18a8e242f2eb9a87c2a /src
parentac52ebd5d88e560b1caa71497360acd433e8724a (diff)
downloademacs-074c438cbb211cf98e85bdcc525288bab91e1af4.tar.gz
emacs-074c438cbb211cf98e85bdcc525288bab91e1af4.zip
(sys_subshell): Cast arg to chdir.
(init_sys_modes): Cast arg to setbuf or setvbuf.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c6
1 files changed, 3 insertions, 3 deletions
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 ()
796 796
797 /* Use our buffer's default directory for the subshell. */ 797 /* Use our buffer's default directory for the subshell. */
798 if (str) 798 if (str)
799 chdir (str); 799 chdir ((char *) str);
800 800
801#ifdef subprocesses 801#ifdef subprocesses
802 close_process_descs (); /* Close Emacs's pipes/ptys */ 802 close_process_descs (); /* Close Emacs's pipes/ptys */
@@ -1570,9 +1570,9 @@ init_sys_modes ()
1570 /* This symbol is defined on recent USG systems. 1570 /* This symbol is defined on recent USG systems.
1571 Someone says without this call USG won't really buffer the file 1571 Someone says without this call USG won't really buffer the file
1572 even with a call to setbuf. */ 1572 even with a call to setbuf. */
1573 setvbuf (stdout, _sobuf, _IOFBF, sizeof _sobuf); 1573 setvbuf (stdout, (char *) _sobuf, _IOFBF, sizeof _sobuf);
1574#else 1574#else
1575 setbuf (stdout, _sobuf); 1575 setbuf (stdout, (char *) _sobuf);
1576#endif 1576#endif
1577#ifdef HAVE_WINDOW_SYSTEM 1577#ifdef HAVE_WINDOW_SYSTEM
1578 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore 1578 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore