aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorJim Blandy1993-06-09 12:39:16 +0000
committerJim Blandy1993-06-09 12:39:16 +0000
commit6382623783831301f85010bd515aa3159c6d1354 (patch)
treed03a9d5bcf0414e86b7f46bd2e9b9e3aa627fd28 /src/process.c
parent95e8068d3e648346c4124c2eba6a5469d9c7bca7 (diff)
downloademacs-6382623783831301f85010bd515aa3159c6d1354.tar.gz
emacs-6382623783831301f85010bd515aa3159c6d1354.zip
* process.c (sigchld_handler): Add cast, to avoid warnings on Linux.
(Fopen_network_stream): Cast the second argument to connect, to avoid warnings on any system that provides prototypes for connect.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index d661aa92425..a834cc8a355 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1478,7 +1478,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
1478 report_file_error ("error creating socket", Fcons (name, Qnil)); 1478 report_file_error ("error creating socket", Fcons (name, Qnil));
1479 1479
1480 loop: 1480 loop:
1481 if (connect (s, &address, sizeof address) == -1) 1481 if (connect (s, (struct sockaddr *) &address, sizeof address) == -1)
1482 { 1482 {
1483 int xerrno = errno; 1483 int xerrno = errno;
1484 if (errno == EINTR) 1484 if (errno == EINTR)