s/u_long/unsigned long/

pull/1/head
Yang Tse 16 years ago
parent 9e0140f455
commit 382dc0d719
  1. 3
      CHANGES
  2. 2
      RELEASE-NOTES
  3. 2
      acountry.c

@ -1,5 +1,8 @@
Changelog for the c-ares project 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) * February 20 2009 (Yang Tse)
- Do not halt compilation when using VS2008 to build a Windows 2000 target. - Do not halt compilation when using VS2008 to build a Windows 2000 target.

@ -14,6 +14,6 @@ Fixed:
Thanks go to these friendly people for their efforts and contributions: Thanks go to these friendly people for their efforts and contributions:
Phil Blundell Phil Blundell, Japheth Cleaver
Have fun! Have fun!

@ -547,7 +547,7 @@ static void find_country_from_cname(const char *cname, struct in_addr addr)
const struct search_list *country; const struct search_list *country;
char ccode_A2[3], *ccopy, *dot_4; char ccode_A2[3], *ccopy, *dot_4;
int cnumber, z0, z1, ver_1, ver_2; int cnumber, z0, z1, ver_1, ver_2;
u_long ip; unsigned long ip;
ip = ntohl(addr.s_addr); ip = ntohl(addr.s_addr);
z0 = tolower(cname[0]); z0 = tolower(cname[0]);

Loading…
Cancel
Save