From 34adefae7fc7fa803ceb2e62eec301f92eaebf18 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 24 Mar 2016 16:23:50 +0100 Subject: [PATCH] Fix return type of get_routedst * net.cc (get_routedst): Correctly return in_addr_t. Signed-off-by: Corinna Vinschen --- 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 3175d0ca0..8ef621c21 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;