Skip to content

Commit

Permalink
Narrowing cast removal
Browse files Browse the repository at this point in the history
  • Loading branch information
bretambrose committed Nov 11, 2024
1 parent 5351e29 commit 5a3032c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/s3_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ struct aws_s3_client *aws_s3_client_new(

/* Set up body streaming ELG */
{
uint16_t num_event_loops = aws_event_loop_group_get_loop_count(client->client_bootstrap->event_loop_group);
uint16_t num_streaming_threads = num_event_loops;
size_t num_event_loops = aws_event_loop_group_get_loop_count(client->client_bootstrap->event_loop_group);
size_t num_streaming_threads = num_event_loops;

if (num_streaming_threads < 1) {
num_streaming_threads = 1;
Expand Down

0 comments on commit 5a3032c

Please sign in to comment.