summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-03 16:07:05 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-03 16:07:05 (GMT)
commitdc604b9f392767239752177f241e4a3648c5b5e2 (patch)
treecc82e670a0b09bc17538d0ab9bc6b009a062d3c2
parentb3b69f95642e766f0adbd678578de4c89ba3e94b (diff)
downloadCMake-dc604b9f392767239752177f241e4a3648c5b5e2.zip
CMake-dc604b9f392767239752177f241e4a3648c5b5e2.tar.gz
CMake-dc604b9f392767239752177f241e4a3648c5b5e2.tar.bz2
ERR: Attempt to remove warning on cygwin
-rw-r--r--Source/CTest/Curl/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/hostip.c b/Source/CTest/Curl/hostip.c
index 22727ba..fc12bd7 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 {