Remove typecast

pull/1/head
Yang Tse 15 years ago
parent 09aadd57e6
commit f2cdd32a4f
  1. 2
      ares_parse_srv_reply.c

@ -93,7 +93,7 @@ ares_parse_srv_reply (const unsigned char *abuf, int alen,
aptr += len + QFIXEDSZ; aptr += len + QFIXEDSZ;
/* Examine each answer resource record (RR) in turn. */ /* 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. */ /* Decode the RR up to the data field. */
status = ares_expand_name (aptr, abuf, alen, &rr_name, &len); status = ares_expand_name (aptr, abuf, alen, &rr_name, &len);

Loading…
Cancel
Save