summaryrefslogtreecommitdiff
path: root/ares_parse_srv_reply.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-20 09:57:25 +0000
committerYang Tse <yangsita@gmail.com>2009-11-20 09:57:25 +0000
commitf2cdd32a4feb42616c3cc5207b71b50f5da8a86b (patch)
tree6bc309be38619bddb9e6cb99fe330aefbb80b9b5 /ares_parse_srv_reply.c
parent09aadd57e6dd75fb3354c09a2f4609a4cba5a2bc (diff)
downloadc-ares-f2cdd32a4feb42616c3cc5207b71b50f5da8a86b.tar.gz
c-ares-f2cdd32a4feb42616c3cc5207b71b50f5da8a86b.tar.bz2
c-ares-f2cdd32a4feb42616c3cc5207b71b50f5da8a86b.zip
Remove typecast
Diffstat (limited to 'ares_parse_srv_reply.c')
-rw-r--r--ares_parse_srv_reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_parse_srv_reply.c b/ares_parse_srv_reply.c
index e296a98..2e5095e 100644
--- a/ares_parse_srv_reply.c
+++ b/ares_parse_srv_reply.c
@@ -93,7 +93,7 @@ ares_parse_srv_reply (const unsigned char *abuf, int alen,
aptr += len + QFIXEDSZ;
/* Examine each answer resource record (RR) in turn. */
- for (i = 0; i < (int) ancount; i++)
+ for (i = 0; i < ancount; i++)
{
/* Decode the RR up to the data field. */
status = ares_expand_name (aptr, abuf, alen, &rr_name, &len);