aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares__read_line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares__read_line.c b/ares/ares__read_line.c
index d816f18c0..f550a7ad4 100644
--- a/ares/ares__read_line.c
+++ b/ares/ares__read_line.c
@@ -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)