summaryrefslogtreecommitdiff
path: root/acountry.c
diff options
context:
space:
mode:
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]);