mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-11-20 14:10:11 +00:00
Replaced uint32_t with unsigned int to fix broken builds on a couple of platforms.
This commit is contained in:
2
ares.h
2
ares.h
@ -317,7 +317,7 @@ CARES_EXTERN void ares_cancel(ares_channel channel);
|
||||
* connection. Use these to specify source IP and/or network device
|
||||
* on multi-homed systems.
|
||||
*/
|
||||
CARES_EXTERN void ares_set_local_ip4(ares_channel channel, uint32_t local_ip);
|
||||
CARES_EXTERN void ares_set_local_ip4(ares_channel channel, unsigned int local_ip);
|
||||
|
||||
/* local_ip6 should be 16 bytes in length */
|
||||
CARES_EXTERN void ares_set_local_ip6(ares_channel channel,
|
||||
|
||||
@ -261,7 +261,7 @@ struct ares_channeldata {
|
||||
* them null/zero for no binding.
|
||||
*/
|
||||
char local_dev_name[32];
|
||||
uint32_t local_ip4;
|
||||
unsigned int local_ip4;
|
||||
unsigned char local_ip6[16];
|
||||
|
||||
int optmask; /* the option bitfield passed in at init time */
|
||||
|
||||
Reference in New Issue
Block a user