]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
h3: fix signedness of two printf masks
authorViktor Szakats <commit@vsz.me>
Thu, 28 May 2026 15:19:23 +0000 (17:19 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 28 May 2026 15:42:14 +0000 (17:42 +0200)
Follow-up to c2ca16f3ff2ad8300e67ea5a3cc4060738473e45 #21799

lib/cf-h3-proxy.c
lib/vquic/curl_ngtcp2.c

index c2fc67e5fb7cff014aed758d7ceb0b9b2016a86e..7aaa19be3ff9055cab90d161d462008105c43264 100644 (file)
@@ -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),
index 552a8c7895370c77efa34bfa9db0e78a77d68c88..a5e0ea2cf944035e094cce9d8be6fa61bff32e7a 100644 (file)
@@ -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),