changeset 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 aacca1901f73
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)