[PATCH applied] Re: sample: Fix cppcheck error invalidPrintfArgType_sint

Gert Doering <[email protected]>
Newsgroups gmane.network.openvpn.devel
Message-ID <[email protected]>
Good find... the variables printed are defined in "openvpn-plugin.h"
as "unsigned int", so we should print them as such :-) - not that it
would make any difference (and "unsigned int" really leaves room for
many many openvpn versions).  So treating as cleanup, not bugfix.

Your patch has been applied to the master branch.

commit 74d39dfba2aa8d94110467788dfb9160fc739fad
Author: Frank Lichtenheld
Date:   Thu May 7 09:54:56 2026 +0200

     sample: Fix cppcheck error invalidPrintfArgType_sint

     Signed-off-by: Frank Lichtenheld <[email protected]>
     Acked-by: Gert Doering <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1662
     Message-Id: <[email protected]>
     URL: https://www.mail-archive.com/[email protected]/msg36844.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.