Commit f35c2821 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

use size_t to keep strlen() results

parent 35fd1365
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;