diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-10-30 17:38:50 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-10-30 17:38:50 -0700 |
commit | c430c84f84bec9c97cb48b0ccfd212f52e10de93 (patch) | |
tree | c52c2e0e645230d5bf03887d8d7cd12aff34ad0d /test/core/client_channel | |
parent | 268685bcbd1a3af4239f4cd0f623b5f6d033b524 (diff) |
more changes
Diffstat (limited to 'test/core/client_channel')
-rw-r--r-- | test/core/client_channel/lb_policies_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/client_channel/lb_policies_test.cc b/test/core/client_channel/lb_policies_test.cc index 1f0d310380..aa0e1ba14d 100644 --- a/test/core/client_channel/lb_policies_test.cc +++ b/test/core/client_channel/lb_policies_test.cc @@ -235,7 +235,7 @@ static request_sequences request_sequences_create(size_t n) { res.connections = static_cast<int *>(gpr_malloc(sizeof(*res.connections) * n)); res.connectivity_states = - static_cast<int *>(gpr_malloc(sizeof(*res.connectivity_states) * n)); + static_cast<grpc_connectivity_state *>(gpr_malloc(sizeof(*res.connectivity_states) * n)); memset(res.connections, 0, sizeof(*res.connections) * n); memset(res.connectivity_states, 0, sizeof(*res.connectivity_states) * n); return res; |