1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Fix compiler warning

This commit is contained in:
Yang Tse 2006-07-14 11:04:19 +00:00
parent d2cefc140a
commit bd8d4637a3

View File

@ -158,7 +158,7 @@ static void write_tcp_data(ares_channel channel, fd_set *write_fds, time_t now)
vec[n].iov_len = sendreq->len;
n++;
}
wcount = writev(server->tcp_socket, vec, n);
wcount = (ssize_t)writev(server->tcp_socket, vec, n);
free(vec);
if (wcount < 0)
{