diff options
author | Craig Tiller <ctiller@google.com> | 2015-06-18 11:51:31 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-06-18 11:51:31 -0700 |
commit | 159a774fdd05d22deaca47043fa913455d0da94c (patch) | |
tree | 23b423ecfa5bfee686d584ef4f495a47db11f434 /src/core/transport | |
parent | 8823b1499385bebe4543af47c80b641bf68d8051 (diff) |
Fix type in swap buffer
Diffstat (limited to 'src/core/transport')
-rw-r--r-- | src/core/transport/stream_op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/stream_op.c b/src/core/transport/stream_op.c index cad17035d1..efb33ddf68 100644 --- a/src/core/transport/stream_op.c +++ b/src/core/transport/stream_op.c @@ -65,7 +65,7 @@ void grpc_sopb_swap(grpc_stream_op_buffer *a, grpc_stream_op_buffer *b) { if (a->ops == a->inlined_ops) { if (b->ops == b->inlined_ops) { /* swap contents of inlined buffer */ - gpr_slice temp[GRPC_SOPB_INLINE_ELEMENTS]; + grpc_stream_op temp[GRPC_SOPB_INLINE_ELEMENTS]; memcpy(temp, a->ops, b->nops * sizeof(grpc_stream_op)); memcpy(a->ops, b->ops, a->nops * sizeof(grpc_stream_op)); memcpy(b->ops, temp, b->nops * sizeof(grpc_stream_op)); |