mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
don't mix int and size_t, it generates warnings!
This commit is contained in:
parent
85af357d81
commit
a054e5baf3
@ -30,7 +30,7 @@
|
||||
int ares__read_line(FILE *fp, char **buf, int *bufsize)
|
||||
{
|
||||
char *newbuf;
|
||||
int offset = 0;
|
||||
size_t offset = 0;
|
||||
size_t len;
|
||||
|
||||
if (*buf == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user