From c7fe8a7a11456abe367d3d815f3c2faf62900fc3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 Feb 2004 07:52:20 +0000 Subject: make ares_expand_name() take a long * instead of an int *, since we do pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long --- ares/ares_expand_name.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares/ares_expand_name.c') diff --git a/ares/ares_expand_name.c b/ares/ares_expand_name.c index b242abf0f..457f4da05 100644 --- a/ares/ares_expand_name.c +++ b/ares/ares_expand_name.c @@ -54,7 +54,7 @@ static int name_length(const unsigned char *encoded, const unsigned char *abuf, */ int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, - int alen, char **s, int *enclen) + int alen, char **s, long *enclen) { int len, indir = 0; char *q; -- cgit v1.2.3