From: Daniel Stenberg Date: Wed, 20 Jul 2022 21:13:35 +0000 (+0200) Subject: urldata: change second proxytype field to unsigned char to match X-Git-Tag: curl-7_85_0~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cd57d6e39645a7b418a7b72c06242ea204de67d;p=thirdparty%2Fcurl.git urldata: change second proxytype field to unsigned char to match To avoid "enumerated type mixed with another type" Closes #9179 --- diff --git a/lib/urldata.h b/lib/urldata.h index 04edfd1a4e..34967fb28a 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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 */ };