From dc604b9f392767239752177f241e4a3648c5b5e2 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sat, 3 May 2003 12:07:05 -0400 Subject: [PATCH] ERR: Attempt to remove warning on cygwin --- Source/CTest/Curl/hostip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/Curl/hostip.c b/Source/CTest/Curl/hostip.c index 22727baf9..fc12bd7b2 100644 --- a/Source/CTest/Curl/hostip.c +++ b/Source/CTest/Curl/hostip.c @@ -571,7 +571,7 @@ static Curl_addrinfo *my_getaddrinfo(struct SessionHandle *data, h->h_addrtype = AF_INET; h->h_length = sizeof(*addrentry); h->h_name = &buf->h_name[0]; - MakeIP(ntohl(in), h->h_name, sizeof(buf->h_name)); + MakeIP(ntohl(in), (char*)h->h_name, sizeof(buf->h_name)); } #if defined(HAVE_GETHOSTBYNAME_R) else {