From: Brian Fox Date: Mon, 25 Oct 1993 05:13:17 +0000 (+0000) Subject: (Fopen_netwrok_stream): Cast arg to inet_addr to (char *). X-Git-Tag: emacs-19.34~10968 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=393a96790d994a7a1632d6452ac941faa9639beb;p=emacs.git (Fopen_netwrok_stream): Cast arg to inet_addr to (char *). --- 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\ if (host_info_ptr == 0) /* Attempt to interpret host as numeric inet address */ { - numeric_addr = inet_addr (XSTRING (host)->data); + numeric_addr = inet_addr ((char *) XSTRING (host)->data); if (numeric_addr == -1) error ("Unknown host \"%s\"", XSTRING (host)->data);