1
0
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:
Guenter Knauf
2010-07-29 23:27:46 +02:00
parent e3b04e5a47
commit 28ff9336d5
2 changed files with 2 additions and 2 deletions

2
ares.h
View File

@ -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,

View File

@ -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 */