Compiler warning fix

pull/1/head
Yang Tse 19 years ago
parent 000ac3f39d
commit dd8b7df5dd
  1. 2
      ares_process.c

@ -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…
Cancel
Save