From: Chris Hanson Date: Thu, 28 Oct 1999 03:53:51 +0000 (+0000) Subject: Eliminate compiler warning. X-Git-Tag: 20090517-FFI~4434 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=85e3175a1e6b441014ee2a61d693d30920f87812;p=mit-scheme.git Eliminate compiler warning. --- diff --git a/v7/src/microcode/os2sock.c b/v7/src/microcode/os2sock.c index cff618c3c..325c14acb 100644 --- a/v7/src/microcode/os2sock.c +++ b/v7/src/microcode/os2sock.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: os2sock.c,v 1.13 1999/08/15 15:25:29 cph Exp $ +$Id: os2sock.c,v 1.14 1999/10/28 03:53:51 cph Exp $ Copyright (c) 1990-1999 Massachusetts Institute of Technology @@ -180,7 +180,9 @@ const char * OS_get_host_by_address (const char * host_addr) { struct hostent * entry - = (gethostbyaddr (host_addr, (OS_host_address_length ()), AF_INET)); + = (gethostbyaddr (((char *) host_addr), + (OS_host_address_length ()), + AF_INET)); if (entry == 0) return (0); {