BUILD: quic: QUIC mux build fix for 32-bit build

Thank you to Ilya for having reported this issue in GH #1897

Must be backported to 2.6.

(cherry picked from commit 5a5d05c71b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
Frédéric Lécaille 2022-10-14 22:10:50 +02:00 committed by Christopher Faulet
parent 0855bad311
commit c9aeed34a5

View File

@ -44,13 +44,13 @@ static void qmux_trace_frm(const struct quic_frame *frm)
{
switch (frm->type) {
case QUIC_FT_MAX_STREAMS_BIDI:
chunk_appendf(&trace_buf, " max_streams=%lu",
frm->max_streams_bidi.max_streams);
chunk_appendf(&trace_buf, " max_streams=%llu",
(ullong)frm->max_streams_bidi.max_streams);
break;
case QUIC_FT_MAX_STREAMS_UNI:
chunk_appendf(&trace_buf, " max_streams=%lu",
frm->max_streams_uni.max_streams);
chunk_appendf(&trace_buf, " max_streams=%llu",
(ullong)frm->max_streams_uni.max_streams);
break;
default: