diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-08 17:01:40 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-08 17:01:40 +0000 |
commit | 9f62ff5df612f954de41853c0fa8591054c08210 (patch) | |
tree | 342f21e1d585d7787673c8ec2c099f20a5475b0f /ares/ares_send.c | |
parent | 4e3f3e751e6f0886c76f23a12eb6d23c9b5f654a (diff) |
compiler warning fix
Diffstat (limited to 'ares/ares_send.c')
-rw-r--r-- | ares/ares_send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_send.c b/ares/ares_send.c index 89efec089..6d17a1cd7 100644 --- a/ares/ares_send.c +++ b/ares/ares_send.c @@ -73,7 +73,7 @@ void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, } /* Compute the query ID. Start with no timeout. */ - query->qid = DNS_HEADER_QID(qbuf); + query->qid = (unsigned short)DNS_HEADER_QID(qbuf); query->timeout = 0; /* Form the TCP query buffer by prepending qlen (as two |