diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-07-07 09:24:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-07-07 09:24:16 +0000 |
commit | ddd0f7430b9c94e56457980b70d3b0dd98b05681 (patch) | |
tree | a75eef104ce6febd2b3ef97ee2c0f41c37b10c91 | |
parent | 542143fc7bc0b0221651de6e4275f7bc39b2560d (diff) | |
download | newlib-ddd0f7430b9c94e56457980b70d3b0dd98b05681.zip newlib-ddd0f7430b9c94e56457980b70d3b0dd98b05681.tar.gz newlib-ddd0f7430b9c94e56457980b70d3b0dd98b05681.tar.bz2 |
* net.cc (cygwin_inet_ntop): Fix data type of forth parameter.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/net.cc | 2 |
2 files changed, 5 insertions, 1 deletions
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 <corinna@vinschen.de> + * net.cc (cygwin_inet_ntop): Fix data type of forth parameter. + +2006-07-07 Corinna Vinschen <corinna@vinschen.de> + * 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) { |