From: Daniel Stenberg Date: Thu, 27 Jun 2024 11:05:07 +0000 (+0200) Subject: quiche: fix operand of ‘?:’ changes signedness X-Git-Tag: curl-8_9_0~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9acf759455f96636bc2132339fc53f4094957be7;p=thirdparty%2Fcurl.git quiche: fix operand of ‘?:’ changes signedness ... from ‘int’ to ‘curl_uint64_t’ Closes #14041 --- diff --git a/lib/vquic/curl_quiche.c b/lib/vquic/curl_quiche.c index 85213b0cf1..e462f4e6d7 100644 --- a/lib/vquic/curl_quiche.c +++ b/lib/vquic/curl_quiche.c @@ -1121,7 +1121,7 @@ out: nwritten = -1; } CURL_TRC_CF(data, cf, "[%" CURL_PRIu64 "] cf_send(len=%zu) -> %zd, %d", - stream? stream->id : -1, len, nwritten, *err); + stream? stream->id : (uint64_t)~0, len, nwritten, *err); return nwritten; }