]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fopen_netwrok_stream): Cast arg to inet_addr to (char *).
authorBrian Fox <bfox@gnu.org>
Mon, 25 Oct 1993 05:13:17 +0000 (05:13 +0000)
committerBrian Fox <bfox@gnu.org>
Mon, 25 Oct 1993 05:13:17 +0000 (05:13 +0000)
src/process.c

index 491baa6434ca5a86e714a79608dbbea43dad5e3b..6bf32c4033bd3f5178c815774c78f5e912857bb8 100644 (file)
@@ -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);