]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Remove typecast
authorYang Tse <yangsita@gmail.com>
Fri, 20 Nov 2009 09:57:25 +0000 (09:57 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 20 Nov 2009 09:57:25 +0000 (09:57 +0000)
ares/ares_parse_srv_reply.c

index e296a98683d8fec03a7c672c16edf23a56af62d0..2e5095e04b5b197bf0d76894ad4fcc0529a22ceb 100644 (file)
@@ -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);