1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 11:19:49 +00:00

strlen() returns a size_t, which might be larger than int on some platforms

This commit is contained in:
Daniel Stenberg
2004-02-23 07:46:59 +00:00
parent bcc693e966
commit 3f0b19ea45

View File

@ -30,7 +30,8 @@
int ares__read_line(FILE *fp, char **buf, int *bufsize)
{
char *newbuf;
int offset = 0, len;
int offset = 0;
size_t len;
if (*buf == NULL)
{