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
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel