From: Frédéric Lécaille Date: Fri, 14 Oct 2022 20:10:50 +0000 (+0200) Subject: BUILD: quic: QUIC mux build fix for 32-bit build X-Git-Tag: v2.7-dev9~168 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a5d05c71b66d5f0a723e0dfcb6f7016abd60676;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/qmux_trace.c b/src/qmux_trace.c index 7899bff668..00a1d8d27f 100644 --- a/src/qmux_trace.c +++ b/src/qmux_trace.c @@ -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: