mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05: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