From cb2dc1ba89dbdb3850de8e92907bbbbb9c1903e0 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 1 Feb 2021 02:10:07 -0500 Subject: lib: use int type for more port variables This is a follow-up to 764c6bd. Prior to that change port variables were usually type long. Closes https://github.com/curl/curl/pull/6553 --- lib/urldata.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index c2f3128d2..97ad49372 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1153,9 +1153,9 @@ struct PureInfo { reused, in the connection cache. */ char conn_primary_ip[MAX_IPADR_LEN]; - long conn_primary_port; + int conn_primary_port; char conn_local_ip[MAX_IPADR_LEN]; - long conn_local_port; + int conn_local_port; const char *conn_scheme; unsigned int conn_protocol; struct curl_certinfo certs; /* info about the certs, only populated in -- cgit v1.2.1