summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-02-09 23:21:13 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-02-09 23:21:39 +0100
commit69a396f59362eba6821645fd0e8c7ad8f23fc1ab (patch)
tree65a10c788f0b1fc0ebfc5a8b424738b357e10ae4
parent528f71c2ecdbb03117af226978804148d69a1007 (diff)
downloadcurl-69a396f59362eba6821645fd0e8c7ad8f23fc1ab.tar.gz
quiche: fix build error: use 'int' for port number
Follow-up to cb2dc1ba8
-rw-r--r--lib/vquic/quiche.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index d138dd3a2..9b476cbd2 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -180,7 +180,7 @@ CURLcode Curl_quic_connect(struct Curl_easy *data,
struct quicsocket *qs = &conn->hequic[sockindex];
char *keylog_file = NULL;
char ipbuf[40];
- long port;
+ int port;
#ifdef DEBUG_QUICHE
/* initialize debug log callback only once */