aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_client/tests/duplicate_header.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/bad_client/tests/duplicate_header.cc')
-rw-r--r--test/core/bad_client/tests/duplicate_header.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/bad_client/tests/duplicate_header.cc b/test/core/bad_client/tests/duplicate_header.cc
index 0d689bbb7e..12b9c79ab8 100644
--- a/test/core/bad_client/tests/duplicate_header.cc
+++ b/test/core/bad_client/tests/duplicate_header.cc
@@ -87,7 +87,7 @@ static void verifier(grpc_server* server, grpc_completion_queue* cq,
op->flags = 0;
op->reserved = nullptr;
op++;
- error = grpc_call_start_batch(s, ops, (size_t)(op - ops), tag(102), nullptr);
+ error = grpc_call_start_batch(s, ops, static_cast<size_t>(op - ops), tag(102), nullptr);
GPR_ASSERT(GRPC_CALL_OK == error);
CQ_EXPECT_COMPLETION(cqv, tag(102), 1);
@@ -108,7 +108,7 @@ static void verifier(grpc_server* server, grpc_completion_queue* cq,
op->flags = 0;
op->reserved = nullptr;
op++;
- error = grpc_call_start_batch(s, ops, (size_t)(op - ops), tag(103), nullptr);
+ error = grpc_call_start_batch(s, ops, static_cast<size_t>(op - ops), tag(103), nullptr);
GPR_ASSERT(GRPC_CALL_OK == error);
CQ_EXPECT_COMPLETION(cqv, tag(103), 1);