aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/retry_throttle.cc
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@google.com>2018-02-09 10:23:30 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2018-02-09 17:49:00 -0800
commite1bec40dfb8ff7562fc6a6dafb6d0369294e852f (patch)
treeca54df0049fbf0e519d4ec49699646d953e6c9fa /src/core/ext/filters/client_channel/retry_throttle.cc
parent4d20a666850b732cf1562487fb5f46ab9654105f (diff)
Manually fix build issue
Diffstat (limited to 'src/core/ext/filters/client_channel/retry_throttle.cc')
-rw-r--r--src/core/ext/filters/client_channel/retry_throttle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/retry_throttle.cc b/src/core/ext/filters/client_channel/retry_throttle.cc
index dd33b69102..a98e27860a 100644
--- a/src/core/ext/filters/client_channel/retry_throttle.cc
+++ b/src/core/ext/filters/client_channel/retry_throttle.cc
@@ -116,7 +116,7 @@ static grpc_server_retry_throttle_data* grpc_server_retry_throttle_data_create(
// we will start out doing the same thing on the new one.
if (old_throttle_data != nullptr) {
double token_fraction =
- static_cast<int> gpr_atm_acq_load(&old_throttle_data->milli_tokens) /
+ static_cast<int>(gpr_atm_acq_load(&old_throttle_data->milli_tokens)) /
static_cast<double>(old_throttle_data->max_milli_tokens);
initial_milli_tokens = static_cast<int>(token_fraction * max_milli_tokens);
}