diff options
author | Craig Tiller <ctiller@google.com> | 2017-09-05 13:10:00 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-09-05 13:10:00 -0700 |
commit | b6ab5f599ec691b33dce1ca6eb3892f7830d61da (patch) | |
tree | 94facd60fab2ba8858f7a588bc70c3b1907dca35 /src/core/lib/iomgr | |
parent | 83db6312c60859002d4bb2c301f594fc65039ecf (diff) |
Mac compilation fixes
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r-- | src/core/lib/iomgr/tcp_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_posix.c b/src/core/lib/iomgr/tcp_posix.c index 793147f30a..98a2afd78b 100644 --- a/src/core/lib/iomgr/tcp_posix.c +++ b/src/core/lib/iomgr/tcp_posix.c @@ -250,7 +250,7 @@ static void tcp_do_read(grpc_exec_ctx *exec_ctx, grpc_tcp *tcp) { msg.msg_name = NULL; msg.msg_namelen = 0; msg.msg_iov = iov; - msg.msg_iovlen = tcp->incoming_buffer->count; + msg.msg_iovlen = (msg_iovlen_type)tcp->incoming_buffer->count; msg.msg_control = NULL; msg.msg_controllen = 0; msg.msg_flags = 0; |