projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7126053
)
Remove typecast
author
Yang Tse
<yangsita@gmail.com>
Fri, 20 Nov 2009 09:57:25 +0000
(09:57 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Fri, 20 Nov 2009 09:57:25 +0000
(09:57 +0000)
ares/ares_parse_srv_reply.c
patch
|
blob
|
history
diff --git
a/ares/ares_parse_srv_reply.c
b/ares/ares_parse_srv_reply.c
index
e296a98
..
2e5095e
100644
(file)
--- 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);