[PATCH applied] Re: dns: Change arguments to setenv_dns_option to avoid sign-compare warning

Gert Doering <[email protected]>
Newsgroups gmane.network.openvpn.devel
Message-ID <[email protected]>
I was not exactly eager to apply this, because it changes so many lines,
and I foresee a patch to this code coming up "for master and 2.7" which
will then create havoc on merging... but maybe I'm just a pessimist.

Whatever, this code is fine (in the revised %zu version), and gets rid
of a few #ifdef/#pragmas, so moving ahead...  compile tested on linux
(as this is !WIN32).

Your patch has been applied to the master branch.

commit 7f870c0753eccece035f682f8ae43f082e9af805
Author: Frank Lichtenheld
Date:   Tue Apr 7 11:46:37 2026 +0200

     dns: Change arguments to setenv_dns_option to avoid sign-compare warning

     Signed-off-by: Frank Lichtenheld <[email protected]>
     Acked-by: Gert Doering <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1558
     Message-Id: <[email protected]>
     URL: https://www.mail-archive.com/[email protected]/msg36531.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.