mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 04:39:42 +00:00
ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitions
Fixing compiler warnings existing definitions triggered on these.
This commit is contained in:
@ -139,11 +139,11 @@ ares_parse_srv_reply (const unsigned char *abuf, int alen,
|
||||
srv_last = srv_curr;
|
||||
|
||||
vptr = aptr;
|
||||
srv_curr->priority = (unsigned short)DNS__16BIT(vptr);
|
||||
srv_curr->priority = DNS__16BIT(vptr);
|
||||
vptr += sizeof(unsigned short);
|
||||
srv_curr->weight = (unsigned short)DNS__16BIT(vptr);
|
||||
srv_curr->weight = DNS__16BIT(vptr);
|
||||
vptr += sizeof(unsigned short);
|
||||
srv_curr->port = (unsigned short)DNS__16BIT(vptr);
|
||||
srv_curr->port = DNS__16BIT(vptr);
|
||||
vptr += sizeof(unsigned short);
|
||||
|
||||
status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len);
|
||||
|
Reference in New Issue
Block a user