aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commit88ce03e94507d009edb0bb80e778fb8ad69eb6ac (patch)
tree5d0be0afb617d293d034e4628b603d283916d09f /ares/ares_query.c
parent5bed99c97da7fcbd1c832074dc73efefee81a94c (diff)
Vlad Dinulescu fixed two outstanding valgrind reports
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);