aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-23 08:38:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-23 08:38:49 +0000
commitf35c28214eb97f3e7bea4029161f7c370f5d9de5 (patch)
tree3857927e965e6d7618b74f3302bab34490968731 /lib
parent35fd1365ae7f387a9d0d4cff7f42a7a17f7f5466 (diff)
use size_t to keep strlen() results
Diffstat (limited to 'lib')
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index d02b30785..166173e24 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -810,7 +810,7 @@ static struct hostent* pack_hostent(char** buf, struct hostent* orig)
int i;
char *str;
- int len;
+ size_t len;
bufptr = *buf;
copy = (struct hostent*)bufptr;