use size_t to keep strlen() results

This commit is contained in:
Daniel Stenberg 2004-02-23 08:38:49 +00:00
parent 35fd1365ae
commit f35c28214e

View File

@ -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;