Skip to content

Commit

Permalink
cf-https-connect: use timeouts as unsigned ints
Browse files Browse the repository at this point in the history
To match the type used in 'set.happy_eyeballs_timeout'.

Ref: #13489
  • Loading branch information
bagder committed Apr 30, 2024
1 parent 86805bf commit b148b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cf-https-connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b148b9b

Please sign in to comment.