From: Daniel Stenberg Date: Mon, 23 Feb 2004 08:38:49 +0000 (+0000) Subject: use size_t to keep strlen() results X-Git-Tag: cares-1_1_0~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f35c28214eb97f3e7bea4029161f7c370f5d9de5;p=curl use size_t to keep strlen() results --- 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;