From: Daniel Stenberg Date: Thu, 26 Feb 2004 12:45:29 +0000 (+0000) Subject: don't mix int and size_t, it generates warnings! X-Git-Tag: cares-1_1_0~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a054e5baf3798d4b4ba5b6b7c1f4287bd2049c51;p=curl don't mix int and size_t, it generates warnings! --- 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)