aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-10-26 13:40:50 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-10-26 13:40:50 -0700
commitd7648feb225e8cefd26ff5a611f8ca733a755d6c (patch)
treef75b0ea3279d5859ca58c362baaabb3b3709baec /test/core
parentd4a5971ae89e124f67781a6fda57b36af3d7fb54 (diff)
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 &&