File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,8 @@ class AwsRetryStrategy : public S3RetryStrategy {
233233 Aws::Client::AWSError<Aws::Client::CoreErrors> error = DetailToError (detail);
234234 return std::visit (
235235 [&](const auto & strategy) {
236- return strategy->ShouldRetry (error, attempted_retries);
236+ return strategy->ShouldRetry (
237+ error, static_cast <long >(attempted_retries)); // NOLINT: runtime/int
237238 },
238239 retry_strategy_);
239240 }
@@ -243,7 +244,8 @@ class AwsRetryStrategy : public S3RetryStrategy {
243244 Aws::Client::AWSError<Aws::Client::CoreErrors> error = DetailToError (detail);
244245 return std::visit (
245246 [&](const auto & strategy) {
246- return strategy->CalculateDelayBeforeNextRetry (error, attempted_retries);
247+ return strategy->CalculateDelayBeforeNextRetry (
248+ error, static_cast <long >(attempted_retries)); // NOLINT: runtime/int
247249 },
248250 retry_strategy_);
249251 }
You can’t perform that action at this time.
0 commit comments