mirror of
https://github.com/curl/curl.git
synced 2025-09-16 09:02:40 +03:00
use size_t to keep strlen() results
This commit is contained in:
parent
35fd1365ae
commit
f35c28214e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user