diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-04-25 18:04:46 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-04-26 23:36:45 +0200 |
commit | 65f03e507f7eece690a0e6a05ab6f0408dbcbcb2 (patch) | |
tree | 815aa82a8f789e2acdd0be94d592401b85b32b02 /lib/multi.c | |
parent | acd82c8bfd743d0f743a1c1296890738832ac83e (diff) | |
download | curl-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/multi.c')
-rw-r--r-- | lib/multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c index 0be8d0c40..441435628 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -3222,7 +3222,7 @@ static CURLMcode multi_socket(struct Curl_multi *multi, if(data->conn && !(data->conn->handler->flags & PROTOPT_DIRLOCK)) /* set socket event bitmask if they're not locked */ - data->conn->cselect_bits = ev_bitmask; + data->conn->cselect_bits = (unsigned char)ev_bitmask; Curl_expire(data, 0, EXPIRE_RUN_NOW); } |