From 8cd57d6e39645a7b418a7b72c06242ea204de67d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 Jul 2022 23:13:35 +0200 Subject: [PATCH] urldata: change second proxytype field to unsigned char to match To avoid "enumerated type mixed with another type" Closes #9179 --- lib/urldata.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ }; -- 2.47.3