]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: spoa-server: fix size_t format printing
authorWilliam Dauchy <w.dauchy@criteo.com>
Sat, 1 Aug 2020 14:28:51 +0000 (16:28 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Aug 2020 20:12:47 +0000 (22:12 +0200)
commitbbe18ac5dfc9079b68285d3e015e9f545f71008a
treeb80a4e672c950d48218d206a251436627d088328
parent87138c3524bc4242dc48cfacba82d34504958e78
BUG/MINOR: spoa-server: fix size_t format printing

From https://www.python.org/dev/peps/pep-0353/
"A new type Py_ssize_t is introduced, which has the same size as the
compiler's size_t type, but is signed. It will be a typedef for ssize_t
where available."

For integer types, causes printf to expect a size_t-sized integer
argument.

This should fix github issue #702

This should be backported to >= v2.2

Signed-off-by: William Dauchy <w.dauchy@criteo.com>
contrib/spoa_server/ps_python.c