* 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.
This commit is contained in:
parent
95e8068d3e
commit
6382623783
1 changed files with 1 additions and 1 deletions
|
@ -1478,7 +1478,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue