Date: Thu, 16 Oct 2025 13:12:54 +0200 (CEST) Message-Id: <202510161112.59GBCsad029068@...2054...> From: Gert Doering In-Reply-To: <20251016101722.2979-1-gert@...1296...> References: <20251016101722.2979-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: socket: Wrap winsock functions to avoid common conversion warnings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Frank Lichtenheld Cc: openvpn-devel@lists.sourceforge.net This is not the first function we wrap in openvpn_...(), and it's not truly making our code more easy to understand at first - but it saves needless casts all over the place, which *does* make it better. Stared at the code, ran a full client/server test run on Linux (ran it together with the two following socks/proxy patches, excercising all the socket and the proxy code), works. Test built on mingw "no errors". Your patch has been applied to the master branch. commit 42459e22c9ccf3488609338c9e4e4a9bd845e602 Author: Frank Lichtenheld Date: Thu Oct 16 12:17:16 2025 +0200 socket: Wrap winsock functions to avoid common conversion warnings Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1277 Message-Id: <20251016101722.2979-1-gert@...1296...> URL: https://sourceforge.net/p/openvpn/mailman/message/59247452/ Signed-off-by: Gert Doering -- kind regards, Gert Doering