aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2017-10-24 15:54:09 -0700
committerGravatar GitHub <noreply@github.com>2017-10-24 15:54:09 -0700
commit1bda5106421c5e6f449e6dbdd2214cdf31b26fcf (patch)
tree94b9b8bd4a92e07884c1471f17a1d876732416e6 /src
parent7e08c1a60650c9bf62af26e2850528085cb7faa3 (diff)
parent44d820ee2c6d7498cff42910bda5eaafc9411f14 (diff)
Merge pull request #13094 from muxi/fix-objc-cpp-build
Fix objc build problem with C++ core
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/transport/chttp2/transport/flow_control.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/flow_control.cc b/src/core/ext/transport/chttp2/transport/flow_control.cc
index dd80036530..40545bc74b 100644
--- a/src/core/ext/transport/chttp2/transport/flow_control.cc
+++ b/src/core/ext/transport/chttp2/transport/flow_control.cc
@@ -165,7 +165,7 @@ TransportFlowControl::TransportFlowControl(grpc_exec_ctx* exec_ctx,
uint32_t TransportFlowControl::MaybeSendUpdate(bool writing_anyway) {
FlowControlTrace trace("t updt sent", this, nullptr);
- const uint32_t target_announced_window = target_window();
+ const uint32_t target_announced_window = (const uint32_t)target_window();
if ((writing_anyway || announced_window_ <= target_announced_window / 2) &&
announced_window_ != target_announced_window) {
const uint32_t announce = (uint32_t)GPR_CLAMP(