Skip to content
Snippets Groups Projects
Commit a85271ce authored by Yang Tse's avatar Yang Tse
Browse files

Fix type cast
parent fd5e69f7
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ Curl_he2ai(const struct hostent *he, int port)
the type must be ignored and conn->socktype be used instead! */
ai->ai_socktype = SOCK_STREAM;
ai->ai_addrlen = (int)ss_size;
ai->ai_addrlen = (curl_socklen_t)ss_size;
/* leave the rest of the struct filled with zero */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment