summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-10-06 19:12:20 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-10-06 19:12:20 (GMT)
commitf6e25ab9d2255f97bcfa31cf7d9705ee559f6a4d (patch)
tree154bb2116671273c9216b8263cdb110d8c48ea9c /Source
parent00f6e6ebf1b21595a66a973b0284a0eee8c98af2 (diff)
downloadCMake-f6e25ab9d2255f97bcfa31cf7d9705ee559f6a4d.zip
CMake-f6e25ab9d2255f97bcfa31cf7d9705ee559f6a4d.tar.gz
CMake-f6e25ab9d2255f97bcfa31cf7d9705ee559f6a4d.tar.bz2
COMP: Remove compile warning on cygwin
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/Curl/hostip4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/hostip4.c b/Source/CTest/Curl/hostip4.c
index 2a8588e..f46e2c3 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);