Commit 7174ca7a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 2e61fde0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)
    {