]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urldata: restore bitfield to unsigned int
authorDaniel Stenberg <daniel@haxx.se>
Sat, 10 Jan 2026 21:22:27 +0000 (22:22 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 10 Jan 2026 21:42:05 +0000 (22:42 +0100)
Bug: https://github.com/curl/curl/pull/20209#pullrequestreview-3647160739

Reported-by: Patrick Monnerat
Follow-up to e3691612ea1acb2
Closes #20244

lib/urldata.h

index 84bfaeb1020c5dbe007d4d4851cb90a5c4b1803a..564329d9d27c506816a03f617c3041bd8785e573 100644 (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