]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cf-https-connect: use timeouts as unsigned ints
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Apr 2024 06:56:53 +0000 (08:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Apr 2024 09:23:20 +0000 (11:23 +0200)
To match the type used in 'set.happy_eyeballs_timeout'.

Ref: #13489
Closes #13503

lib/cf-https-connect.c

index b23fa056f8faa3d1fa9dd4063a12d4e0efeeb8a2..50ac8d4bc29cb5919a70584ec9d8459f066cb5ff 100644 (file)
@@ -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,