diff --git a/source/s3_client.c b/source/s3_client.c index 33a4c8d6..9fcfdfa5 100644 --- a/source/s3_client.c +++ b/source/s3_client.c @@ -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;