aboutsummaryrefslogtreecommitdiff
path: root/ares
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
commit0922a0fc3f93c461f39607929477a89ef5f5f2ce (patch)
treed4a748956ff06bc4ce04c19aba6ad260e99c69d2 /ares
parentdd53b356ff2e359b73d881f5a065b363e7088fd5 (diff)
s/u_long/unsigned long/
Diffstat (limited to 'ares')
-rw-r--r--ares/CHANGES3
-rw-r--r--ares/RELEASE-NOTES2
-rw-r--r--ares/acountry.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/ares/CHANGES b/ares/CHANGES
index 3a4a99ccf..90ee71113 100644
--- a/ares/CHANGES
+++ b/ares/CHANGES
@@ -1,5 +1,8 @@
Changelog for the c-ares project
+* March 11 2009 (Yang Tse)
+- Japheth Cleaver fixed acountry.c replacing u_long with unsigned long.
+
* February 20 2009 (Yang Tse)
- Do not halt compilation when using VS2008 to build a Windows 2000 target.
diff --git a/ares/RELEASE-NOTES b/ares/RELEASE-NOTES
index 761121be5..93760e5b4 100644
--- a/ares/RELEASE-NOTES
+++ b/ares/RELEASE-NOTES
@@ -14,6 +14,6 @@ Fixed:
Thanks go to these friendly people for their efforts and contributions:
- Phil Blundell
+ Phil Blundell, Japheth Cleaver
Have fun!
diff --git a/ares/acountry.c b/ares/acountry.c
index 9b3533410..cac9ae5b0 100644
--- a/ares/acountry.c
+++ b/ares/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]);