aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-03-07 10:17:15 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2018-03-07 10:17:15 -0800
commit0c6024b94dc2a8aa9d851d8bc5d3a96e97802a55 (patch)
tree48f83f5393a4c66fb944d5317ee8639b8ba00bca /test/core/surface
parentd2365d615aa0b8c18d88997ff26ae145844a4d4e (diff)
parent4135ef7012ecac32f03a8a1ca76f20098fcd016c (diff)
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
Diffstat (limited to 'test/core/surface')
-rw-r--r--test/core/surface/completion_queue_threading_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/surface/completion_queue_threading_test.cc b/test/core/surface/completion_queue_threading_test.cc
index 9c8d8d8395..0b82803af6 100644
--- a/test/core/surface/completion_queue_threading_test.cc
+++ b/test/core/surface/completion_queue_threading_test.cc
@@ -219,7 +219,7 @@ static void test_threading(size_t producers, size_t consumers) {
"test_threading", producers, consumers);
/* start all threads: they will wait for phase1 */
- grpc_core::Thread* threads = reinterpret_cast<grpc_core::Thread*>(
+ grpc_core::Thread* threads = static_cast<grpc_core::Thread*>(
gpr_malloc(sizeof(*threads) * (producers + consumers)));
for (i = 0; i < producers + consumers; i++) {
gpr_event_init(&options[i].on_started);