BUG/MINOR: quic: fix type bug on "show quic" for 32-bits arch
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Feb 2023 08:25:22 +0000 (09:25 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Feb 2023 08:29:37 +0000 (09:29 +0100)
commita9de25a5598549dff32f4097f461ecbde311dc8f
tree579ef75c3502854a4428c0194db9be51850e6564
parent71c486b290d49a0d278fc7f822dd451c31aaf144
BUG/MINOR: quic: fix type bug on "show quic" for 32-bits arch

Incorrect printf format specifier "%lu" was used on "show quic" handler
for uint64_t. This breaks build on 32-bits architecture. To fix this
portability issue, force an explicit cast to unsigned long long with
"%llu" specifier.

This must be backported up to 2.7.
src/quic_conn.c