aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_parse_ptr_reply.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-04 07:51:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-04 07:51:30 +0000
commitb7fda8ec73e7cb5db81f87b1dcfdc04315a95516 (patch)
tree8abe4f289720ad6a719e42f81900fe48c8f876e3 /ares/ares_parse_ptr_reply.c
parent3d7f4c0d77e31b8b9cfcb0d1022d2cb3ddb38537 (diff)
typecast comparision between signed and unsigned
Diffstat (limited to 'ares/ares_parse_ptr_reply.c')
-rw-r--r--ares/ares_parse_ptr_reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_parse_ptr_reply.c b/ares/ares_parse_ptr_reply.c
index 8cb0cbc8e..13b3ab03b 100644
--- a/ares/ares_parse_ptr_reply.c
+++ b/ares/ares_parse_ptr_reply.c
@@ -66,7 +66,7 @@ int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr,
/* Examine each answer resource record (RR) in turn. */
hostname = NULL;
- for (i = 0; i < ancount; i++)
+ for (i = 0; i < (int)ancount; i++)
{
/* Decode the RR up to the data field. */
status = ares_expand_name(aptr, abuf, alen, &rr_name, &len);