From f35c28214eb97f3e7bea4029161f7c370f5d9de5 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 23 Feb 2004 08:38:49 +0000
Subject: [PATCH] use size_t to keep strlen() results

---
 lib/hostip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
GitLab