diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-01 15:29:15 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-01 15:29:15 (GMT) |
commit | 8174deb9e998199fc4aa828664d57dedc3f8a683 (patch) | |
tree | f8d3845260623d8240db1db2109102967df512a9 /Source/CTest/Curl/connect.c | |
parent | 6e143754beaf7c275c73b5c501419e3ac0b40839 (diff) | |
download | CMake-8174deb9e998199fc4aa828664d57dedc3f8a683.zip CMake-8174deb9e998199fc4aa828664d57dedc3f8a683.tar.gz CMake-8174deb9e998199fc4aa828664d57dedc3f8a683.tar.bz2 |
ERR: Remove warnings
Diffstat (limited to 'Source/CTest/Curl/connect.c')
-rw-r--r-- | Source/CTest/Curl/connect.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CTest/Curl/connect.c b/Source/CTest/Curl/connect.c index 3ed65d9..1d1044c 100644 --- a/Source/CTest/Curl/connect.c +++ b/Source/CTest/Curl/connect.c @@ -70,6 +70,7 @@ #define EINPROGRESS WSAEINPROGRESS #define EWOULDBLOCK WSAEWOULDBLOCK #define EISCONN WSAEISCONN +#undef HAVE_DISABLED_NONBLOCKING #endif #include "urldata.h" @@ -124,7 +125,7 @@ int Curl_nonblock(int socket, /* operate on this */ #ifdef HAVE_IOCTLSOCKET int flags; flags = nonblock; - return ioctlsocket(socket, FIONBIO, &flags); + return ioctlsocket(socket, FIONBIO, (unsigned long*)&flags); #define SETBLOCK 3 #endif @@ -326,6 +327,8 @@ static CURLcode bindlocal(struct connectdata *conn, #endif /* end of HAVE_INET_NTOA */ #endif /* end of not WIN32 */ + (void)conn; + (void)sockfd; return CURLE_HTTP_PORT_FAILED; } |