1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

typecast comparision between signed and unsigned

This commit is contained in:
Daniel Stenberg 2004-02-04 07:51:30 +00:00
parent 3d7f4c0d77
commit b7fda8ec73
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ int ares_parse_a_reply(const unsigned char *abuf, int alen,
naliases = 0;
/* Examine each answer resource record (RR) in turn. */
for (i = 0; i < ancount; i++)
for (i = 0; i < (int)ancount; i++)
{
/* Decode the RR up to the data field. */
status = ares_expand_name(aptr, abuf, alen, &rr_name, &len);

View File

@ -66,7 +66,7 @@ int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr,
/* Examine each answer resource record (RR) in turn. */
hostname = NULL;
for (i = 0; i < ancount; i++)
for (i = 0; i < (int)ancount; i++)
{
/* Decode the RR up to the data field. */
status = ares_expand_name(aptr, abuf, alen, &rr_name, &len);