From: Daniel Stenberg Date: Tue, 30 Apr 2024 06:56:53 +0000 (+0200) Subject: cf-https-connect: use timeouts as unsigned ints X-Git-Tag: curl-8_8_0~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3583ed8b77cbcd1c438cde84e55db483d4920b1c;p=thirdparty%2Fcurl.git cf-https-connect: use timeouts as unsigned ints To match the type used in 'set.happy_eyeballs_timeout'. Ref: #13489 Closes #13503 --- diff --git a/lib/cf-https-connect.c b/lib/cf-https-connect.c index b23fa056f8..50ac8d4bc2 100644 --- a/lib/cf-https-connect.c +++ b/lib/cf-https-connect.c @@ -102,8 +102,8 @@ struct cf_hc_ctx { CURLcode result; /* overall result */ struct cf_hc_baller h3_baller; struct cf_hc_baller h21_baller; - int soft_eyeballs_timeout_ms; - int hard_eyeballs_timeout_ms; + unsigned int soft_eyeballs_timeout_ms; + unsigned int hard_eyeballs_timeout_ms; }; static void cf_hc_baller_init(struct cf_hc_baller *b,