summaryrefslogtreecommitdiff
path: root/lib/vquic/curl_quiche.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-04-25 18:04:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-04-26 23:36:45 +0200
commit65f03e507f7eece690a0e6a05ab6f0408dbcbcb2 (patch)
tree815aa82a8f789e2acdd0be94d592401b85b32b02 /lib/vquic/curl_quiche.c
parentacd82c8bfd743d0f743a1c1296890738832ac83e (diff)
downloadcurl-65f03e507f7eece690a0e6a05ab6f0408dbcbcb2.tar.gz
urldata: shrink *select_bits int => unsigned char
- dselect_bits - cselect_bits ... are using less than 8 bits. Changed types and moved them towards the end of the structs to fit better. Closes #11025
Diffstat (limited to 'lib/vquic/curl_quiche.c')
-rw-r--r--lib/vquic/curl_quiche.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/curl_quiche.c b/lib/vquic/curl_quiche.c
index e32cc366d..ff3f8f4ec 100644
--- a/lib/vquic/curl_quiche.c
+++ b/lib/vquic/curl_quiche.c
@@ -303,7 +303,7 @@ static void drain_stream(struct Curl_cfilter *cf,
struct Curl_easy *data)
{
struct stream_ctx *stream = H3_STREAM_CTX(data);
- int bits;
+ unsigned char bits;
(void)cf;
bits = CURL_CSELECT_IN;