We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417433d commit 982ba7fCopy full SHA for 982ba7f
source/s3_client.c
@@ -249,7 +249,7 @@ static void s_s3_client_init_tokens(struct aws_s3_client *client) {
249
AWS_PRECONDITION(client);
250
251
uint32_t target_throughput_mbps = 0;
252
- aws_mul_u32_checked(client->throughput_target_gbps, 1024, &target_throughput_mbps);
+ aws_mul_u32_checked((uint32_t)client->throughput_target_gbps, 1024, &target_throughput_mbps);
253
aws_atomic_store_int(&client->token_bucket, target_throughput_mbps);
254
}
255
0 commit comments