summaryrefslogtreecommitdiff
path: root/acountry.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-03-11 05:09:03 +0000
committerYang Tse <yangsita@gmail.com>2009-03-11 05:09:03 +0000
commit382dc0d71995a0b44c94cace70f317eb6ae860a3 (patch)
tree36555f866202452e0b69d207b311b3fde0033be0 /acountry.c
parent9e0140f455875582fea9aa6f194e6d374b69301d (diff)
downloadc-ares-382dc0d71995a0b44c94cace70f317eb6ae860a3.tar.gz
c-ares-382dc0d71995a0b44c94cace70f317eb6ae860a3.tar.bz2
c-ares-382dc0d71995a0b44c94cace70f317eb6ae860a3.zip
s/u_long/unsigned long/
Diffstat (limited to 'acountry.c')
-rw-r--r--acountry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/acountry.c b/acountry.c
index 9b35334..cac9ae5 100644
--- a/acountry.c
+++ b/acountry.c
@@ -547,7 +547,7 @@ static void find_country_from_cname(const char *cname, struct in_addr addr)
const struct search_list *country;
char ccode_A2[3], *ccopy, *dot_4;
int cnumber, z0, z1, ver_1, ver_2;
- u_long ip;
+ unsigned long ip;
ip = ntohl(addr.s_addr);
z0 = tolower(cname[0]);