diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-29 11:21:15 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-29 11:21:15 -0800 |
commit | 575da5118a2f02a9e3473077d4c934eda9c8cd40 (patch) | |
tree | 1aa5bbeed269213759254793c0272df3cdcad590 /src/core/ext/transport | |
parent | 77ba25ab7230546abb3200558b928e0f35c00635 (diff) |
Explicit conversion
Diffstat (limited to 'src/core/ext/transport')
-rw-r--r-- | src/core/ext/transport/chttp2/transport/context_list.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/context_list.cc b/src/core/ext/transport/chttp2/transport/context_list.cc index 89e574ac67..f30d41c332 100644 --- a/src/core/ext/transport/chttp2/transport/context_list.cc +++ b/src/core/ext/transport/chttp2/transport/context_list.cc @@ -32,7 +32,7 @@ void ContextList::Execute(void* arg, grpc_core::Timestamps* ts, while (head != nullptr) { if (error == GRPC_ERROR_NONE && ts != nullptr) { if (write_timestamps_callback_g) { - ts->byte_offset = head->byte_offset_; + ts->byte_offset = static_cast<uint32_t>(head->byte_offset_); write_timestamps_callback_g(head->s_->context, ts); } } |