summaryrefslogtreecommitdiff
path: root/ares_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares_query.c')
-rw-r--r--ares_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_query.c b/ares_query.c
index ed32e92..0cd6557 100644
--- a/ares_query.c
+++ b/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);