summaryrefslogtreecommitdiff
path: root/ares_query.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-07-14 13:08:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-07-14 13:08:50 +0000
commit403b315a3bc81b9a65c7f921c19e5221199db9e7 (patch)
tree2d2b9b19a62744bd39e2287fbe723960fcda6c7d /ares_query.c
parent1c91a98fcd70512a5979d913a8ec52a4b530fd69 (diff)
downloadc-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.tar.gz
c-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.tar.bz2
c-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.zip
Vlad Dinulescu fixed two outstanding valgrind reports
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);