# HG changeset patch # User Jim Blandy # Date 739629556 0 # Node ID e425c30482839738893e5f61bf4caf9877fcc150 # Parent 7ce5a10ed6d9fcfea381c9fa083bfbf2f9ccd656 * 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. diff -r 7ce5a10ed6d9 -r e425c3048283 src/process.c --- 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)