aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
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;