From ddd0f7430b9c94e56457980b70d3b0dd98b05681 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 7 Jul 2006 09:24:16 +0000 Subject: * net.cc (cygwin_inet_ntop): Fix data type of forth parameter. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/net.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0ca2601..cb7e5eb 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2006-07-07 Corinna Vinschen + * net.cc (cygwin_inet_ntop): Fix data type of forth parameter. + +2006-07-07 Corinna Vinschen + * Makefile.in (DLL_OFILES): Add inet_addr.o and inet_network.o. * autoload.cc (inet_addr): Drop definition. (inet_ntoa): Ditto. diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 3ff3638..bd70161 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -2559,7 +2559,7 @@ inet_ntop6 (const u_char *src, char *dst, size_t size) * Paul Vixie, 1996. */ extern "C" const char * -cygwin_inet_ntop (int af, const void *src, char *dst, size_t size) +cygwin_inet_ntop (int af, const void *src, char *dst, socklen_t size) { switch (af) { -- cgit v1.1