1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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; int i;
char *str; char *str;
int len; size_t len;
bufptr = *buf; bufptr = *buf;
copy = (struct hostent*)bufptr; copy = (struct hostent*)bufptr;