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.
This commit is contained in:
Frdric Lcaille 2022-10-14 22:10:50 +02:00 committed by Willy Tarreau
parent ea8aebe8c5
commit 5a5d05c71b

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: