Mercurial > emacs
changeset 4883:a806d71f58f6
(Fopen_netwrok_stream): Cast arg to inet_addr to (char *).
author | Brian Fox <bfox@gnu.org> |
---|---|
date | Mon, 25 Oct 1993 05:13:17 +0000 |
parents | 8c09f87f5087 |
children | 8a07e753eff6 |
files | src/process.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Mon Oct 25 05:09:20 1993 +0000 +++ b/src/process.c Mon Oct 25 05:13:17 1993 +0000 @@ -1400,7 +1400,7 @@ 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);