From: Viktor Szakats Date: Thu, 28 May 2026 15:19:23 +0000 (+0200) Subject: h3: fix signedness of two printf masks X-Git-Tag: rc-8_21_0-1~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0c559ff030d859135a32bf8f753166309b0e546;p=thirdparty%2Fcurl.git h3: fix signedness of two printf masks Follow-up to c2ca16f3ff2ad8300e67ea5a3cc4060738473e45 #21799 --- diff --git a/lib/cf-h3-proxy.c b/lib/cf-h3-proxy.c index c2fc67e5fb..7aaa19be3f 100644 --- a/lib/cf-h3-proxy.c +++ b/lib/cf-h3-proxy.c @@ -1064,7 +1064,7 @@ static nghttp3_ssize cb_h3_read_data_for_tunnel_stream(nghttp3_conn *conn, } CURL_TRC_CF(data, cf, "[%" PRId64 "] read req body -> " - "%zd vecs%s with %zu (buffered=%zu, left=%" FMT_OFF_T ")", + "%zu vecs%s with %zu (buffered=%zu, left=%" FMT_OFF_T ")", H3_STREAM_ID(stream), nvecs, *pflags == NGHTTP3_DATA_FLAG_EOF ? " EOF" : "", nwritten, Curl_bufq_len(&stream->sendbuf), diff --git a/lib/vquic/curl_ngtcp2.c b/lib/vquic/curl_ngtcp2.c index 552a8c7895..a5e0ea2cf9 100644 --- a/lib/vquic/curl_ngtcp2.c +++ b/lib/vquic/curl_ngtcp2.c @@ -1602,7 +1602,7 @@ static nghttp3_ssize cb_h3_read_req_body(nghttp3_conn *conn, int64_t stream_id, } CURL_TRC_CF(data, cf, "[%" PRId64 "] read req body -> " - "%zd vecs%s with %zu (buffered=%zu, left=%" FMT_OFF_T ")", + "%zu vecs%s with %zu (buffered=%zu, left=%" FMT_OFF_T ")", stream->id, nvecs, *pflags == NGHTTP3_DATA_FLAG_EOF ? " EOF" : "", nwritten, Curl_bufq_len(&stream->sendbuf),