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

pull/1/head
Daniel Stenberg 21 years ago
parent bcc693e966
commit 3f0b19ea45
  1. 3
      ares__read_line.c

@ -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)
{

Loading…
Cancel
Save