diff --git a/lib/hostip.c b/lib/hostip.c index d02b307853..166173e24d 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -810,7 +810,7 @@ static struct hostent* pack_hostent(char** buf, struct hostent* orig) int i; char *str; - int len; + size_t len; bufptr = *buf; copy = (struct hostent*)bufptr;