quiche: fix operand of ‘?:’ changes signedness

... from ‘int’ to ‘curl_uint64_t’

Closes #14041
This commit is contained in:
Daniel Stenberg 2024-06-27 13:05:07 +02:00
parent 7fce488cd8
commit 9acf759455
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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;
}