aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-11 17:18:19 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-03-11 17:18:19 -0800
commitd24fc85b59b4224d7932c5a7a9f17e73402f388b (patch)
treef23e380d5ec380b1b85954fd95c0c34fb105dda6
parent64baf2cbab3bc3caa98907758ee0a6c7db72e68a (diff)
Fix cast
-rw-r--r--test/core/surface/concurrent_connectivity_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/surface/concurrent_connectivity_test.c b/test/core/surface/concurrent_connectivity_test.c
index 7306a394eb..cd1aead5e5 100644
--- a/test/core/surface/concurrent_connectivity_test.c
+++ b/test/core/surface/concurrent_connectivity_test.c
@@ -11,7 +11,7 @@ static grpc_channel* channels[NUM_THREADS];
static grpc_completion_queue* queues[NUM_THREADS];
void create_loop_destroy(void* actually_an_int) {
- int thread_index = (int)(actually_an_int);
+ int thread_index = (int)(intptr_t)(actually_an_int);
for (int i = 0; i < 10; ++i) {
grpc_completion_queue* cq = grpc_completion_queue_create(NULL);
grpc_channel* chan = grpc_insecure_channel_create("localhost", NULL, NULL);