summaryrefslogtreecommitdiff
path: root/inet/getipnodebyad.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getipnodebyad.c')
-rw-r--r--inet/getipnodebyad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/getipnodebyad.c b/inet/getipnodebyad.c
index d9d5ba8887..1128bcb30f 100644
--- a/inet/getipnodebyad.c
+++ b/inet/getipnodebyad.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@
struct hostent *
-getipnodebyaddr (const char *addr, size_t len, int type, int *error_num)
+getipnodebyaddr (const void *addr, socklen_t len, int type, int *error_num)
{
size_t buffer_size;
char *buffer;