summaryrefslogtreecommitdiff
path: root/ares__read_line.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-26 12:45:29 (GMT)
committerDaniel Stenberg <daniel@haxx.se>2004-02-26 12:45:29 (GMT)
commit02ffff0b0026134504a214fbf486c1cebaed6487 (patch)
treee1227d1bea5b19b692021d67d254fab0afecf5f6 /ares__read_line.c
parent650fd8cee3110d3e3b3d434ce827e177b3469c36 (diff)
downloadc-ares-02ffff0b0026134504a214fbf486c1cebaed6487.zip
c-ares-02ffff0b0026134504a214fbf486c1cebaed6487.tar.gz
c-ares-02ffff0b0026134504a214fbf486c1cebaed6487.tar.bz2
don't mix int and size_t, it generates warnings!
Diffstat (limited to 'ares__read_line.c')
-rw-r--r--ares__read_line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares__read_line.c b/ares__read_line.c
index d816f18..f550a7a 100644
--- a/ares__read_line.c
+++ b/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)