aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/slice
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-13 06:42:47 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-04-13 06:42:47 -0700
commita3583b22eaf5448daff914a786d1e5214fe9aaec (patch)
tree3850dc510a98f0b7e97c89d45399eca0b9d30859 /src/core/lib/slice
parent255ea13aa381f905b88a0816a0a29ee0315d251f (diff)
Fix compilation, add a check for no slow usages of grpc_slice_malloc
Diffstat (limited to 'src/core/lib/slice')
-rw-r--r--src/core/lib/slice/slice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/slice/slice.c b/src/core/lib/slice/slice.c
index 285218837a..e3d030235c 100644
--- a/src/core/lib/slice/slice.c
+++ b/src/core/lib/slice/slice.c
@@ -313,7 +313,7 @@ grpc_slice grpc_slice_sub(grpc_slice source, size_t begin, size_t end) {
}
grpc_slice grpc_slice_split_tail_maybe_ref(grpc_slice *source, size_t split,
- bool incref) {
+ int incref) {
grpc_slice tail;
if (source->refcount == NULL) {