aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorBrian Fox1993-10-25 05:13:17 +0000
committerBrian Fox1993-10-25 05:13:17 +0000
commit393a96790d994a7a1632d6452ac941faa9639beb (patch)
treeae987301186f23ada064195bc871bc26575cc11b /src/process.c
parent16fdc568c3c1511d682b849255b374acbae2541c (diff)
downloademacs-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.c2
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