projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4700f0
)
Compiler warning fix
author
Yang Tse
<yangsita@gmail.com>
Wed, 25 Oct 2006 10:25:43 +0000
(10:25 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 25 Oct 2006 10:25:43 +0000
(10:25 +0000)
ares/ares_process.c
patch
|
blob
|
history
diff --git
a/ares/ares_process.c
b/ares/ares_process.c
index
f34ae9e
..
a3a25ba
100644
(file)
--- a/
ares/ares_process.c
+++ b/
ares/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)
{