aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-21 16:28:39 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-21 16:28:39 -0800
commitd19d850357e6204484a1e57677705c6b973217db (patch)
tree0cdcdd29fb42cee3cd8affcba534cabd0f5dd2d4 /test/core
parentb4ee3b597789f4a8cb7e729a7e5f547a6b967198 (diff)
This field is 8 bits on Mac
Diffstat (limited to 'test/core')
-rw-r--r--test/core/iomgr/sockaddr_utils_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/iomgr/sockaddr_utils_test.c b/test/core/iomgr/sockaddr_utils_test.c
index 14018ed66c..3e653da4c9 100644
--- a/test/core/iomgr/sockaddr_utils_test.c
+++ b/test/core/iomgr/sockaddr_utils_test.c
@@ -213,9 +213,9 @@ static void test_sockaddr_to_string(void) {
expect_sockaddr_str("[::fffe:c000:263]:12345", &input6, 1);
memset(&dummy, 0, sizeof(dummy));
- dummy.sa_family = 999;
- expect_sockaddr_str("(sockaddr family=999)", &dummy, 0);
- expect_sockaddr_str("(sockaddr family=999)", &dummy, 1);
+ dummy.sa_family = 123;
+ expect_sockaddr_str("(sockaddr family=123)", &dummy, 0);
+ expect_sockaddr_str("(sockaddr family=123)", &dummy, 1);
GPR_ASSERT(errno == 0xDEADBEEF);
}