Commit 393a9679 authored by Brian Fox's avatar Brian Fox

(Fopen_netwrok_stream): Cast arg to inet_addr to (char *).

parent 16fdc568
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment