Skip to content

Commit

Permalink
quiche: fix operand of ‘?:’ changes signedness
Browse files Browse the repository at this point in the history
... from ‘int’ to ‘curl_uint64_t’

Closes curl#14041
  • Loading branch information
bagder committed Jun 27, 2024
1 parent 7fce488 commit 9acf759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vquic/curl_quiche.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ static ssize_t cf_quiche_send(struct Curl_cfilter *cf, struct Curl_easy *data,
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;
}

Expand Down

0 comments on commit 9acf759

Please sign in to comment.