diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-27 13:21:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-27 13:21:47 +0000 |
commit | a881c1dfeea2180b913ec18a4e84e066c52090e5 (patch) | |
tree | bbd7b351c652481584a5f9b130bf03f4fe01caa4 /ares_process.c | |
parent | 3ee8f19e0f6807fc4b074452ce5c2dba3c81ae4f (diff) | |
download | c-ares-a881c1dfeea2180b913ec18a4e84e066c52090e5.tar.gz c-ares-a881c1dfeea2180b913ec18a4e84e066c52090e5.tar.bz2 c-ares-a881c1dfeea2180b913ec18a4e84e066c52090e5.zip |
minor size_t fix to kill a warning
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ares_process.c b/ares_process.c index b2661f7..6a7585c 100644 --- a/ares_process.c +++ b/ares_process.c @@ -119,7 +119,7 @@ static void write_tcp_data(ares_channel channel, fd_set *write_fds, time_t now) while (count) { sendreq = server->qhead; - if (count >= sendreq->len) + if ((size_t)count >= sendreq->len) { count -= sendreq->len; server->qhead = sendreq->next; @@ -150,7 +150,7 @@ static void write_tcp_data(ares_channel channel, fd_set *write_fds, time_t now) } /* Advance the send queue by as many bytes as we sent. */ - if (count == sendreq->len) + if ((size_t)count == sendreq->len) { server->qhead = sendreq->next; if (server->qhead == NULL) |