Mercurial > emacs
diff src/process.c @ 3593:e425c3048283
* 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.
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Wed, 09 Jun 1993 12:39:16 +0000 |
| parents | 7ce5a10ed6d9 |
| children | c7aadfb55138 |
line wrap: on
line diff
--- a/src/process.c Wed Jun 09 12:30:13 1993 +0000 +++ b/src/process.c Wed Jun 09 12:39:16 1993 +0000 @@ -1478,7 +1478,7 @@ report_file_error ("error creating socket", Fcons (name, Qnil)); loop: - if (connect (s, &address, sizeof address) == -1) + if (connect (s, (struct sockaddr *) &address, sizeof address) == -1) { int xerrno = errno; if (errno == EINTR)
