Fix compiler warning

pull/1/head
Yang Tse 19 years ago
parent c3c8945646
commit fb7987171c
  1. 2
      ares_process.c

@ -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)
{

Loading…
Cancel
Save