mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 03:55:03 -05:00
Compiler warning fix
This commit is contained in:
parent
b4700f026b
commit
5450db9151
@ -160,7 +160,7 @@ static void write_tcp_data(ares_channel channel, fd_set *write_fds, time_t now)
|
||||
vec[n].iov_len = sendreq->len;
|
||||
n++;
|
||||
}
|
||||
wcount = (ssize_t)writev(server->tcp_socket, vec, n);
|
||||
wcount = (ssize_t)writev(server->tcp_socket, vec, (int)n);
|
||||
free(vec);
|
||||
if (wcount < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user