https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=34adefae7fc7fa803ceb2e62eec301f92eaebf18
commit 34adefae7fc7fa803ceb2e62eec301f92eaebf18 Author: Corinna Vinschen <[email protected]> Date: Thu Mar 24 16:23:50 2016 +0100 Fix return type of get_routedst * net.cc (get_routedst): Correctly return in_addr_t. Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/net.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 3175d0c..8ef621c 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -1913,7 +1913,7 @@ get_adapters_addresses (PIP_ADAPTER_ADDRESSES *pa_ret, ULONG family) return ret == ERROR_SUCCESS || (!pa_ret && ret == ERROR_BUFFER_OVERFLOW); } -static u_long +static in_addr_t get_routedst (DWORD if_index) { PMIB_IPFORWARDTABLE pift;
