mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -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;
|
||||
char *str;
|
||||
int len;
|
||||
size_t len;
|
||||
|
||||
bufptr = *buf;
|
||||
copy = (struct hostent*)bufptr;
|
||||
|
Loading…
Reference in New Issue
Block a user