From 85e3175a1e6b441014ee2a61d693d30920f87812 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 28 Oct 1999 03:53:51 +0000 Subject: [PATCH] Eliminate compiler warning. --- v7/src/microcode/os2sock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); { -- 2.25.1