diff --git a/ares.h b/ares.h index 3b4ff13d..9456a14a 100644 --- a/ares.h +++ b/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, diff --git a/ares_private.h b/ares_private.h index 6f86a3ab..bf21abd8 100644 --- a/ares_private.h +++ b/ares_private.h @@ -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 */