CONTRIB: halog: fix build issue caused by %L printf format
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Dec 2020 07:29:09 +0000 (08:29 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 8 Jan 2021 10:37:47 +0000 (11:37 +0100)
commit701ef58d0f9416b502f339747147ba30d388dc3c
tree7fc1d57fd956545b3921dbf97fc70f1380993f03
parent1db883b96412acc09f332186a1506f2d85ccb303
CONTRIB: halog: fix build issue caused by %L printf format

%Ld isn't standard, %lld is more portable. In addition, the format
should be %llu since the printed values are unsigned. This should
address issue #1013.

(cherry picked from commit 2df860cb13e503fc8d80889bb93c20d5e8b24cd5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 6b20b8b4fa5f9e3cc465a78a42b12fb1456489b7)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit e7ec110111ed1b52b258421edc0d472171fbc52c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
contrib/halog/halog.c