]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: peers: adjust some printf format to silence cppcheck
authorWilly Tarreau <w@1wt.eu>
Tue, 12 Apr 2022 06:28:18 +0000 (08:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 12 Apr 2022 06:28:18 +0000 (08:28 +0200)
commit2645b34341495bef56a59664a83de886bef53d81
treec8a40ec6b2f4ef7425f4f6373bc3ebd658c59b0e
parentf0683cd5103310bcc6b0e61dbed920c34c4ac598
BUILD: peers: adjust some printf format to silence cppcheck

In issue #1184, cppcheck complains about some inconsistent printf
formats. At least the one in peer_prepare_hellomsg() that uses "%u"
for the int "min_ver" is wrong. Let's force other types to make it
happy, though constants cannot cause trouble.
src/peers.c