From f6e25ab9d2255f97bcfa31cf7d9705ee559f6a4d Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 6 Oct 2004 15:12:20 -0400 Subject: [PATCH] COMP: Remove compile warning on cygwin --- Source/CTest/Curl/hostip4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/Curl/hostip4.c b/Source/CTest/Curl/hostip4.c index 2a8588e24..f46e2c3cd 100644 --- a/Source/CTest/Curl/hostip4.c +++ b/Source/CTest/Curl/hostip4.c @@ -161,7 +161,7 @@ Curl_addrinfo *Curl_ip2addr(in_addr_t num, char *hostname, int port) h->h_aliases = NULL; /* Now store the dotted version of the address */ - snprintf(h->h_name, 16, "%s", hostname); + snprintf((char*)(h->h_name), 16, "%s", hostname); ai = Curl_he2ai(h, port);