From: Daniel Stenberg Date: Sat, 10 Jan 2026 21:22:27 +0000 (+0100) Subject: urldata: restore bitfield to unsigned int X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7433a6eb3f9829da4e5e37a70eefca621797794f;p=thirdparty%2Fcurl.git urldata: restore bitfield to unsigned int Bug: https://github.com/curl/curl/pull/20209#pullrequestreview-3647160739 Reported-by: Patrick Monnerat Follow-up to e3691612ea1acb2 Closes #20244 --- diff --git a/lib/urldata.h b/lib/urldata.h index 84bfaeb102..564329d9d2 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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