]> granicus.if.org Git - curl/commitdiff
don't mix int and size_t, it generates warnings!
authorDaniel Stenberg <daniel@haxx.se>
Thu, 26 Feb 2004 12:45:29 +0000 (12:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Feb 2004 12:45:29 +0000 (12:45 +0000)
ares/ares__read_line.c

index d816f18c06de47b8f70f768d1776a7af99ff4b14..f550a7ad4816f5e9f23f2d8df3c34ccb9a50579a 100644 (file)
@@ -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)