diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:51:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:51:30 +0000 |
commit | 0b59a6bb6663c7eecf11ca9a06e186b8f5ee3757 (patch) | |
tree | 719f8097041721dbe7d13a7752529949e4861a99 /ares_parse_ptr_reply.c | |
parent | f05add885b6b64b1fa96934fd8aacc9dd4820ff5 (diff) | |
download | c-ares-0b59a6bb6663c7eecf11ca9a06e186b8f5ee3757.tar.gz c-ares-0b59a6bb6663c7eecf11ca9a06e186b8f5ee3757.tar.bz2 c-ares-0b59a6bb6663c7eecf11ca9a06e186b8f5ee3757.zip |
typecast comparision between signed and unsigned
Diffstat (limited to 'ares_parse_ptr_reply.c')
-rw-r--r-- | ares_parse_ptr_reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |