diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-29 13:14:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 13:14:34 -0800 |
commit | 714a54aa43db1f21dacd383217ef202b50bf99e0 (patch) | |
tree | baeeb756464a25582c8a2c2d2cb37da889d402ee /src/core/lib/iomgr/tcp_posix.cc | |
parent | f0b99dd6b98545287ebf30aba4d12fd3072fcff4 (diff) | |
parent | 575da5118a2f02a9e3473077d4c934eda9c8cd40 (diff) |
Merge pull request #17331 from yashykt/timestamplength
Add the byte offset for the RPC that is traced in Timestamps
Diffstat (limited to 'src/core/lib/iomgr/tcp_posix.cc')
-rw-r--r-- | src/core/lib/iomgr/tcp_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_posix.cc b/src/core/lib/iomgr/tcp_posix.cc index 68c61b1201..cfcb190d60 100644 --- a/src/core/lib/iomgr/tcp_posix.cc +++ b/src/core/lib/iomgr/tcp_posix.cc @@ -634,7 +634,7 @@ static bool tcp_write_with_timestamps(grpc_tcp* tcp, struct msghdr* msg, if (sending_length == static_cast<size_t>(length)) { gpr_mu_lock(&tcp->tb_mu); grpc_core::TracedBuffer::AddNewEntry( - &tcp->tb_head, static_cast<int>(tcp->bytes_counter + length), + &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), tcp->outgoing_buffer_arg); gpr_mu_unlock(&tcp->tb_mu); tcp->outgoing_buffer_arg = nullptr; |