]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
quiche: fix operand of ‘?:’ changes signedness
authorDaniel Stenberg <daniel@haxx.se>
Thu, 27 Jun 2024 11:05:07 +0000 (13:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Jun 2024 21:15:18 +0000 (23:15 +0200)
... from ‘int’ to ‘curl_uint64_t’

Closes #14041

lib/vquic/curl_quiche.c

index 85213b0cf1ae59a9a401be729bd0c87483e6cccc..e462f4e6d7c4c4b6bf6aad1189721c872f455b5b 100644 (file)
@@ -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;
 }