From 28ff9336d5c8993e197502d68c45c5b7f4fe83d6 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 29 Jul 2010 23:27:46 +0200 Subject: [PATCH] Replaced uint32_t with unsigned int to fix broken builds on a couple of platforms. --- ares.h | 2 +- ares_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */