From 77f19defe9c886b0ce3bdf5bdef19e60290f96c3 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 29 May 2024 01:36:28 +1200 Subject: [PATCH 1/2] MinGW: Fix error: cannot convert 'const int*' to 'const char*' --- src/comm/Tcp.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/comm/Tcp.cc b/src/comm/Tcp.cc index 43c5da0d9ef..3efa845198e 100644 --- a/src/comm/Tcp.cc +++ b/src/comm/Tcp.cc @@ -30,7 +30,12 @@ SetSocketOption(const int fd, const int level, const int optName, const Option & { static_assert(std::is_trivially_copyable