From: "flichtenheld (Code Review)" Date: Wed, 29 Oct 2025 13:13:15 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <8778796a176cefa640c9abb0ea227f0e01f00345-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="oYiGqamqyZI="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: mudp/mtcp: Remove -Wconversion pragmas List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --oYiGqamqyZI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1324?usp=3Demail to look at the new patch set (#2). Change subject: mudp/mtcp: Remove -Wconversion pragmas ...................................................................... mudp/mtcp: Remove -Wconversion pragmas These were implictly fixed by the fixes to the hash API in commit a69aac41c4b2ccff1084736c158d7cf8474be533. ("list: Make types of hash elements consistent") Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a00a6a9043 Signed-off-by: Frank Lichtenheld --- M src/openvpn/mtcp.c M src/openvpn/mudp.c 2 files changed, 0 insertions(+), 18 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/24/1324/2 diff --git a/src/openvpn/mtcp.c b/src/openvpn/mtcp.c index 83edec6..81310a2 100644 --- a/src/openvpn/mtcp.c +++ b/src/openvpn/mtcp.c @@ -45,11 +45,6 @@ unsigned int sock; }; -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wconversion" -#endif - struct multi_instance * multi_create_instance_tcp(struct multi_context *m, struct link_socket *soc= k) { @@ -125,10 +120,6 @@ return true; } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic pop -#endif - void multi_tcp_instance_specific_free(struct multi_instance *mi) { diff --git a/src/openvpn/mudp.c b/src/openvpn/mudp.c index a373a6a..31134be 100644 --- a/src/openvpn/mudp.c +++ b/src/openvpn/mudp.c @@ -180,11 +180,6 @@ return false; } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wconversion" -#endif - /* * Get a client instance based on real address. If * the instance doesn't exist, create it while @@ -315,10 +310,6 @@ return mi; } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic pop -#endif - /* * Send a packet to UDP socket. */ -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1324?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a00a6a9043 Gerrit-Change-Number: 1324 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --oYiGqamqyZI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

flichtenheld uploaded patch set #2 to this change.

<= p>View C= hange

mudp/mtcp: Remove -Wconversion pragmas

Th= ese were implictly fixed by the fixes to
the hash API in commit
a69aa= c41c4b2ccff1084736c158d7cf8474be533.
("list: Make types of hash ele= ments consistent")

Change-Id: Iacec5920cdc3e16aaf777f843ef1f4a0= 0a6a9043
Signed-off-by: Frank Lichtenheld <frank@...2641...>
--= -
M src/openvpn/mtcp.c
M src/openvpn/mudp.c
2 files changed, 0 ins= ertions(+), 18 deletions(-)

git pull ssh://gerri=
t.openvpn.net:29418/openvpn refs/changes/24/1324/2
diff --git a/src=
/openvpn/mtcp.c b/src/openvpn/mtcp.c
index 83edec6..81310a2= 100644
--- a/src/openvpn/mtcp.c
+++ b/src/= openvpn/mtcp.c
@@ -45,11 +45,6 @@
unsi= gned int sock;
};

-#if defined(__GNUC__) || defined(__clang__)=
-#pragma GCC diagnosti= c push
-#pragma GCC dia= gnostic ignored "-Wconversion"
-#endif
-
struct multi_instance *
multi_create= _instance_tcp(struct multi_context *m, struct link_socket *sock)
= {
@@ -125,10 +120,6 @@
return t= rue;
}

-#if defined(__GNUC__) || defined(__clang__)
<= span style=3D"color: hsl(0, 100%, 40%);">-#pragma GCC diagnostic pop=
-#endif
-
void
mul= ti_tcp_instance_specific_free(struct multi_instance *mi)
{=
diff --git a/src/openvpn/mudp.c b/src/openvpn/mudp.c
index a373a6a..31134be 100644
--- a/src/openvpn/= mudp.c
+++ b/src/openvpn/mudp.c
@@ -180,11 = +180,6 @@
return false;
}
<= span>

-#if defined(__G= NUC__) || defined(__clang__)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wconversion"=
-#endif
-
/*
* Ge= t a client instance based on real address. If
* the inst= ance doesn't exist, create it while
@@ -315,10 +310,6 @= @
return mi;
}

-#if defined(__GNUC__) || d= efined(__clang__)
-#pra= gma GCC diagnostic pop
= -#endif
-
/*

* Send a packet to UDP socket.
*= /

To view, visit change 1324. To unsubscrib= e, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iacec5920cdc3e16aaf777f843ef= 1f4a00a6a9043
Gerrit-Change-Number: 1324
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --oYiGqamqyZI=--