]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: http-htx: fix build warning regarding long type in printf
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Nov 2020 13:24:02 +0000 (14:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Nov 2020 13:24:02 +0000 (14:24 +0100)
commit431a12cafeeec7300b7cea7e19b892d4e8c4900d
tree8314143485355aa1f5df779d484bb51a431457cc
parent4299528390ce197a06c0ef1d59a4696fa9c19c30
BUILD: http-htx: fix build warning regarding long type in printf

Commit a66adf41e ("MINOR: http-htx: Add understandable errors for the
errorfiles parsing") added a warning when loading malformed error files,
but this warning may trigger another build warning due to the %lu format
used. Let's simply cast it for output since it's just used for end user
output.

This must be backported to 2.0 like the commit above.
src/http_htx.c