mirror of
https://github.com/curl/curl.git
synced 2026-06-02 03:34:15 +03:00
use size_t to keep strlen() results
This commit is contained in:
parent
35fd1365ae
commit
f35c28214e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue