diff options
author | 2018-11-28 19:02:23 -0800 | |
---|---|---|
committer | 2018-11-28 19:02:23 -0800 | |
commit | 7cd7ecc941e921e02a280cb358001076d4469610 (patch) | |
tree | b232449c40eacabbaf5ac433bca9edc5ef320442 /src/core/lib/iomgr/tcp_posix.cc | |
parent | 6697496a1dca9012375c8a00ac6acedaa42449d9 (diff) |
Add the length of the buffer that is traced
Diffstat (limited to 'src/core/lib/iomgr/tcp_posix.cc')
-rw-r--r-- | src/core/lib/iomgr/tcp_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/tcp_posix.cc b/src/core/lib/iomgr/tcp_posix.cc index 606bfce6e7..8f3403473e 100644 --- a/src/core/lib/iomgr/tcp_posix.cc +++ b/src/core/lib/iomgr/tcp_posix.cc @@ -634,8 +634,8 @@ 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->outgoing_buffer_arg); + &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), + static_cast<uint32_t>(length), tcp->outgoing_buffer_arg); gpr_mu_unlock(&tcp->tb_mu); tcp->outgoing_buffer_arg = nullptr; } |