diff options
| author | Brian Fox | 1993-10-25 05:13:17 +0000 |
|---|---|---|
| committer | Brian Fox | 1993-10-25 05:13:17 +0000 |
| commit | 393a96790d994a7a1632d6452ac941faa9639beb (patch) | |
| tree | ae987301186f23ada064195bc871bc26575cc11b /src/process.c | |
| parent | 16fdc568c3c1511d682b849255b374acbae2541c (diff) | |
| download | emacs-393a96790d994a7a1632d6452ac941faa9639beb.tar.gz emacs-393a96790d994a7a1632d6452ac941faa9639beb.zip | |
(Fopen_netwrok_stream): Cast arg to inet_addr to (char *).
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 491baa6434c..6bf32c4033b 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1400,7 +1400,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\ | |||
| 1400 | if (host_info_ptr == 0) | 1400 | if (host_info_ptr == 0) |
| 1401 | /* Attempt to interpret host as numeric inet address */ | 1401 | /* Attempt to interpret host as numeric inet address */ |
| 1402 | { | 1402 | { |
| 1403 | numeric_addr = inet_addr (XSTRING (host)->data); | 1403 | numeric_addr = inet_addr ((char *) XSTRING (host)->data); |
| 1404 | if (numeric_addr == -1) | 1404 | if (numeric_addr == -1) |
| 1405 | error ("Unknown host \"%s\"", XSTRING (host)->data); | 1405 | error ("Unknown host \"%s\"", XSTRING (host)->data); |
| 1406 | 1406 | ||