diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2009-09-05 12:33:08 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2009-09-05 12:33:08 +0000 |
commit | d5de8495523f63f79c6013da009c759ca063edfa (patch) | |
tree | f68a1a66f029ef9ea1211056ac0e637cdc0fe319 /ares | |
parent | 6569a238906654407578726cd3cc48ccc83019d7 (diff) |
Replace 'uint16_t' with 'u_int16_t' since the latter is used in ares.h.
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_parse_srv_reply.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ares/ares_parse_srv_reply.c b/ares/ares_parse_srv_reply.c index 1d1b98ddf..61f0be1ea 100644 --- a/ares/ares_parse_srv_reply.c +++ b/ares/ares_parse_srv_reply.c @@ -120,12 +120,12 @@ ares_parse_srv_reply (const unsigned char *abuf, int alen, break; } - srv[i].priority = ntohs (*((uint16_t *)aptr)); - aptr += sizeof(uint16_t); - srv[i].weight = ntohs (*((uint16_t *)aptr)); - aptr += sizeof(uint16_t); - srv[i].port = ntohs (*((uint16_t *)aptr)); - aptr += sizeof(uint16_t); + srv[i].priority = ntohs (*((u_int16_t *)aptr)); + aptr += sizeof(u_int16_t); + srv[i].weight = ntohs (*((u_int16_t *)aptr)); + aptr += sizeof(u_int16_t); + srv[i].port = ntohs (*((u_int16_t *)aptr)); + aptr += sizeof(u_int16_t); status = ares_expand_name (aptr, abuf, alen, &srv[i].host, &len); if (status != ARES_SUCCESS) |