use size_t to keep strlen() results
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Feb 2004 08:38:49 +0000 (08:38 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Feb 2004 08:38:49 +0000 (08:38 +0000)
lib/hostip.c

index d02b307..166173e 100644 (file)
@@ -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;