]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urldata: change second proxytype field to unsigned char to match
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jul 2022 21:13:35 +0000 (23:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 23 Jul 2022 11:39:03 +0000 (13:39 +0200)
To avoid "enumerated type mixed with another type"

Closes #9179

lib/urldata.h

index 04edfd1a4e1b7935bfb3a19763539f42e9945044..34967fb28ac22c6622cf97eeba7914c459956bb0 100644 (file)
@@ -839,7 +839,8 @@ struct postponed_data {
 struct proxy_info {
   struct hostname host;
   long port;
-  curl_proxytype proxytype; /* what kind of proxy that is in use */
+  unsigned char proxytype; /* curl_proxytype: what kind of proxy that is in
+                              use */
   char *user;    /* proxy user name string, allocated */
   char *passwd;  /* proxy password string, allocated */
 };