diff options
Diffstat (limited to 'src/tcp.c')
-rw-r--r-- | src/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -418,7 +418,7 @@ static const char *tryconnect6(const char *remoteaddr, const char *remoteserv, | |||
418 | /* finally try connecting to remote address */ | 418 | /* finally try connecting to remote address */ |
419 | err = socket_strerror(socket_connect(&tcp->sock, | 419 | err = socket_strerror(socket_connect(&tcp->sock, |
420 | (SA *) iterator->ai_addr, | 420 | (SA *) iterator->ai_addr, |
421 | iterator->ai_addrlen, tm)); | 421 | (socklen_t) iterator->ai_addrlen, tm)); |
422 | /* if success, break out of loop */ | 422 | /* if success, break out of loop */ |
423 | if (err == NULL) break; | 423 | if (err == NULL) break; |
424 | } | 424 | } |