From: Daniel Stenberg Date: Mon, 23 Feb 2004 08:38:49 +0000 (+0000) Subject: use size_t to keep strlen() results X-Git-Tag: curl-7_11_1~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f35c28214eb97f3e7bea4029161f7c370f5d9de5;p=thirdparty%2Fcurl.git use size_t to keep strlen() results --- diff --git a/lib/hostip.c b/lib/hostip.c index d02b307853..166173e24d 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;