From 5a5d05c71b66d5f0a723e0dfcb6f7016abd60676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 14 Oct 2022 22:10:50 +0200 Subject: [PATCH] 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. --- src/qmux_trace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qmux_trace.c b/src/qmux_trace.c index 7899bff66..00a1d8d27 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: