aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-26 12:45:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-26 12:45:29 +0000
commita054e5baf3798d4b4ba5b6b7c1f4287bd2049c51 (patch)
tree52c8a256d5cf910a234251df838521fab428fd27
parent85af357d8100c3321abf5bd44d5383a4d676a761 (diff)
don't mix int and size_t, it generates warnings!
-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)