From 3f0b19ea45f9377c24d47e5d8df29b919995084a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 Feb 2004 07:46:59 +0000 Subject: [PATCH] strlen() returns a size_t, which might be larger than int on some platforms --- ares__read_line.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ares__read_line.c b/ares__read_line.c index 9f8445ad..d816f18c 100644 --- a/ares__read_line.c +++ b/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) {