aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_query.c')
-rw-r--r--ares/ares_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_query.c b/ares/ares_query.c
index ed32e9288..0cd655709 100644
--- a/ares/ares_query.c
+++ b/ares/ares_query.c
@@ -67,7 +67,7 @@ void ares__rc4(rc4_key* key, unsigned char *buffer_ptr, int buffer_len)
static struct query* find_query_by_id(ares_channel channel, int id)
{
- int qid;
+ unsigned short qid;
struct query* q;
DNS_HEADER_SET_QID(((unsigned char*)&qid), id);