diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-26 12:45:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-26 12:45:29 +0000 |
commit | a054e5baf3798d4b4ba5b6b7c1f4287bd2049c51 (patch) | |
tree | 52c8a256d5cf910a234251df838521fab428fd27 /ares | |
parent | 85af357d8100c3321abf5bd44d5383a4d676a761 (diff) |
don't mix int and size_t, it generates warnings!
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares__read_line.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |