Skip to content

Commit 982ba7f

Browse files
author
Krish
committed
convert to uint32_t
1 parent 417433d commit 982ba7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/s3_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ static void s_s3_client_init_tokens(struct aws_s3_client *client) {
249249
AWS_PRECONDITION(client);
250250

251251
uint32_t target_throughput_mbps = 0;
252-
aws_mul_u32_checked(client->throughput_target_gbps, 1024, &target_throughput_mbps);
252+
aws_mul_u32_checked((uint32_t)client->throughput_target_gbps, 1024, &target_throughput_mbps);
253253
aws_atomic_store_int(&client->token_bucket, target_throughput_mbps);
254254
}
255255

0 commit comments

Comments
 (0)