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 7899bff..00a1d8d 100644
--- a/src/qmux_trace.c
+++ b/src/qmux_trace.c
@@ -44,13 +44,13 @@
{
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: