mirror of
https://github.com/curl/curl.git
synced 2025-09-16 17:12:43 +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;
|
int i;
|
||||||
char *str;
|
char *str;
|
||||||
int len;
|
size_t len;
|
||||||
|
|
||||||
bufptr = *buf;
|
bufptr = *buf;
|
||||||
copy = (struct hostent*)bufptr;
|
copy = (struct hostent*)bufptr;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user