diff options
| author | Jim Blandy | 1993-06-09 12:39:16 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-09 12:39:16 +0000 |
| commit | 6382623783831301f85010bd515aa3159c6d1354 (patch) | |
| tree | d03a9d5bcf0414e86b7f46bd2e9b9e3aa627fd28 /src/process.c | |
| parent | 95e8068d3e648346c4124c2eba6a5469d9c7bca7 (diff) | |
| download | emacs-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.c | 2 |
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) |