From 0b59a6bb6663c7eecf11ca9a06e186b8f5ee3757 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 4 Feb 2004 07:51:30 +0000 Subject: typecast comparision between signed and unsigned --- ares_parse_ptr_reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares_parse_ptr_reply.c') diff --git a/ares_parse_ptr_reply.c b/ares_parse_ptr_reply.c index 8cb0cbc..13b3ab0 100644 --- a/ares_parse_ptr_reply.c +++ b/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); -- cgit v1.2.3