Cory Nelson's work on nuking compiler warnings when building on x64 with

VS2005.
This commit is contained in:
Daniel Stenberg
2005-04-26 13:08:49 +00:00
parent 9d7330d879
commit 6b1220b61d
13 changed files with 34 additions and 34 deletions

View File

@@ -652,7 +652,7 @@ singleipconnect(struct connectdata *conn,
/* set socket non-blocking */
Curl_nonblock(sockfd, TRUE);
rc = connect(sockfd, ai->ai_addr, ai->ai_addrlen);
rc = connect(sockfd, ai->ai_addr, (socklen_t)ai->ai_addrlen);
if(-1 == rc) {
error = Curl_ourerrno();