aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-10-27 08:12:02 -0700
committerGravatar GitHub <noreply@github.com>2016-10-27 08:12:02 -0700
commitc5d447eb30814377c4be4d514524b48a36589015 (patch)
tree18f555d0f2eff4e5d6d4f8ed58946787e1649c58 /test/core
parentd92b795b53842b747a00a82d5aae0913d041766e (diff)
parentd7648feb225e8cefd26ff5a611f8ca733a755d6c (diff)
Merge pull request #8520 from murgatroid99/udp_server_test_fix
Fix issue with pointers in udp_server_test
Diffstat (limited to 'test/core')
-rw-r--r--test/core/iomgr/udp_server_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/iomgr/udp_server_test.c b/test/core/iomgr/udp_server_test.c
index d9f9cd748b..9bea229466 100644
--- a/test/core/iomgr/udp_server_test.c
+++ b/test/core/iomgr/udp_server_test.c
@@ -185,7 +185,7 @@ static void test_receive(int number_of_clients) {
/* Create a socket, send a packet to the UDP server. */
clifd = socket(addr->ss_family, SOCK_DGRAM, 0);
GPR_ASSERT(clifd >= 0);
- GPR_ASSERT(connect(clifd, (struct sockaddr *)&addr,
+ GPR_ASSERT(connect(clifd, (struct sockaddr *)addr,
(socklen_t)resolved_addr.len) == 0);
GPR_ASSERT(5 == write(clifd, "hello", 5));
while (g_number_of_reads == number_of_reads_before &&