projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e61fde
)
strlen() returns a size_t, which might be larger than int on some platforms
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Feb 2004 07:46:59 +0000
(07:46 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Feb 2004 07:46:59 +0000
(07:46 +0000)
ares/ares__read_line.c
patch
|
blob
|
history
diff --git
a/ares/ares__read_line.c
b/ares/ares__read_line.c
index
9f8445a
..
d816f18
100644
(file)
--- a/
ares/ares__read_line.c
+++ b/
ares/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)
{