diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-12-18 09:50:45 -0800 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-12-18 09:50:45 -0800 |
commit | 96d7c8e7c906f209052a3617a1f97ac3950bd0ba (patch) | |
tree | 5e2e1d50944945998602ad5c29355f849d789d51 /test/core | |
parent | ee9d78b960f5c26181c9499412829a95fc972745 (diff) | |
parent | 3f9fe46d4df9ee3be7a4248dabad0df6f875ceb4 (diff) |
Merge branch 'master' of github.com:grpc/grpc into remove_peer_from_ssl_auth_context
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/support/alloc_test.c | 4 | ||||
-rw-r--r-- | test/core/transport/connectivity_state_test.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/core/support/alloc_test.c b/test/core/support/alloc_test.c index b950f0ab49..dc0a2acfa5 100644 --- a/test/core/support/alloc_test.c +++ b/test/core/support/alloc_test.c @@ -48,8 +48,8 @@ static void test_custom_allocs() { gpr_allocation_functions fns = {fake_malloc, fake_realloc, fake_free}; gpr_set_allocation_functions(fns); - GPR_ASSERT((void *)0xdeadbeef == gpr_malloc(0xdeadbeef)); - GPR_ASSERT((void *)0xcafed00d == gpr_realloc(0, 0xcafed00d)); + GPR_ASSERT((void*)(size_t)0xdeadbeef == gpr_malloc(0xdeadbeef)); + GPR_ASSERT((void*)(size_t)0xcafed00d == gpr_realloc(0, 0xcafed00d)); gpr_free(&addr_to_free); GPR_ASSERT(addr_to_free == 0xdeadd00d); diff --git a/test/core/transport/connectivity_state_test.c b/test/core/transport/connectivity_state_test.c index 1f23221812..34ab45d260 100644 --- a/test/core/transport/connectivity_state_test.c +++ b/test/core/transport/connectivity_state_test.c @@ -39,7 +39,7 @@ #include "test/core/util/test_config.h" -#define THE_ARG ((void *)0xcafebabe) +#define THE_ARG ((void *)(size_t)0xcafebabe) int g_counter; |