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 | d145c09ef105cb5a1aa16518bea2afbed8774549 (patch) | |
tree | 33caafeb7851b33447467b306a17f11501a56bf7 /ares_send.c | |
parent | 5d5bf03803d22f464fecb827cadcaa41fc4c4bcb (diff) | |
download | c-ares-d145c09ef105cb5a1aa16518bea2afbed8774549.tar.gz c-ares-d145c09ef105cb5a1aa16518bea2afbed8774549.tar.bz2 c-ares-d145c09ef105cb5a1aa16518bea2afbed8774549.zip |
compiler warning fix
Diffstat (limited to 'ares_send.c')
-rw-r--r-- | ares_send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_send.c b/ares_send.c index 89efec0..6d17a1c 100644 --- a/ares_send.c +++ b/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 |