diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-14 11:04:19 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-14 11:04:19 +0000 |
commit | fb7987171cb42ac0f9397135d6ee72bdf50c03a9 (patch) | |
tree | 530f54c15316ff5dff9b2fec2dfaeba5e43d92c8 /ares_process.c | |
parent | c3c894564616ab1943a076f92b31c9e41884d188 (diff) | |
download | c-ares-fb7987171cb42ac0f9397135d6ee72bdf50c03a9.tar.gz c-ares-fb7987171cb42ac0f9397135d6ee72bdf50c03a9.tar.bz2 c-ares-fb7987171cb42ac0f9397135d6ee72bdf50c03a9.zip |
Fix compiler warning
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c index 533e780..9438c42 100644 --- a/ares_process.c +++ b/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) { |