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
This commit is contained in:
Daniel Stenberg 2023-04-25 18:04:46 +02:00
parent acd82c8bfd
commit 65f03e507f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 16 additions and 16 deletions

View file

@ -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);
}