diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-20 09:57:25 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-20 09:57:25 +0000 |
commit | 99363a0ee164c37d68da56cc07d654be10711d61 (patch) | |
tree | f91227e4648d72554bfc53cda53af6b7c82e0938 /ares | |
parent | 71260534f914b5f74fb978ed833e1e860994a16c (diff) | |
download | curl-99363a0ee164c37d68da56cc07d654be10711d61.tar.gz |
Remove typecast
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_parse_srv_reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_parse_srv_reply.c b/ares/ares_parse_srv_reply.c index e296a9868..2e5095e04 100644 --- a/ares/ares_parse_srv_reply.c +++ b/ares/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); |