aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_expand_name.c
diff options
context:
space:
mode:
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;