From: Yang Tse Date: Fri, 20 Nov 2009 09:57:25 +0000 (+0000) Subject: Remove typecast X-Git-Tag: curl-7_20_0~343 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99363a0ee164c37d68da56cc07d654be10711d61;p=thirdparty%2Fcurl.git Remove typecast --- diff --git a/ares/ares_parse_srv_reply.c b/ares/ares_parse_srv_reply.c index e296a98683..2e5095e04b 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);