From a054e5baf3798d4b4ba5b6b7c1f4287bd2049c51 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 26 Feb 2004 12:45:29 +0000 Subject: don't mix int and size_t, it generates warnings! --- ares/ares__read_line.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares') 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) -- cgit v1.2.3