aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_expand_name.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-23 07:52:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-23 07:52:20 +0000
commitc7fe8a7a11456abe367d3d815f3c2faf62900fc3 (patch)
tree0129ec768d659346b27655f3c6b272d2604a2177 /ares/ares_expand_name.c
parent7174ca7a20dd18f4b42f9b37f4260865365b71d2 (diff)
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
Diffstat (limited to 'ares/ares_expand_name.c')
-rw-r--r--ares/ares_expand_name.c2
1 files changed, 1 insertions, 1 deletions
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;