urldata: restore bitfield to unsigned int

Bug: https://github.com/curl/curl/pull/20209#pullrequestreview-3647160739

Reported-by: Patrick Monnerat
Follow-up to e3691612ea
Closes #20244
This commit is contained in:
Daniel Stenberg 2026-01-10 22:22:27 +01:00
parent f4b16563ab
commit 7433a6eb3f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -1080,8 +1080,8 @@ struct UrlState {
CONN_MAX_RETRIES */
uint8_t httpreq; /* Curl_HttpReq; what kind of HTTP request (if any)
is this */
uint32_t creds_from:2; /* where is the server credentials originating from,
see the CREDS_* defines above */
unsigned int creds_from:2; /* where is the server credentials originating
from, see the CREDS_* defines above */
/* when curl_easy_perform() is called, the multi handle is "owned" by
the easy handle so curl_easy_cleanup() on such an easy handle will