diff options
author | Mark D. Roth <roth@google.com> | 2016-09-16 15:12:00 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-09-16 15:12:00 -0700 |
commit | 8ce02afd0bb4c7147f8526c14424cb99e3271a65 (patch) | |
tree | 5b1b760264dcda6899ae8710302e196294b6362b /test/core/end2end | |
parent | 85102a9eb64ff71814dbace9a179146f8656e21b (diff) |
Fix portability problem.
Diffstat (limited to 'test/core/end2end')
-rw-r--r-- | test/core/end2end/tests/no_logging.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/end2end/tests/no_logging.c b/test/core/end2end/tests/no_logging.c index 35f631b495..430bfdc797 100644 --- a/test/core/end2end/tests/no_logging.c +++ b/test/core/end2end/tests/no_logging.c @@ -270,12 +270,12 @@ static void test_invoke_10_simple_requests(grpc_end2end_test_config config) { static void test_no_error_logging_in_entire_process( grpc_end2end_test_config config) { int i; - gpr_atm_no_barrier_store(&g_log_func, test_no_error_log); + gpr_atm_no_barrier_store(&g_log_func, (gpr_atm)test_no_error_log); for (i = 0; i < 10; i++) { test_invoke_simple_request(config); } test_invoke_10_simple_requests(config); - gpr_atm_no_barrier_store(&g_log_func, gpr_default_log); + gpr_atm_no_barrier_store(&g_log_func, (gpr_atm)gpr_default_log); } static void test_no_logging_in_one_request(grpc_end2end_test_config config) { @@ -285,9 +285,9 @@ static void test_no_logging_in_one_request(grpc_end2end_test_config config) { for (i = 0; i < 10; i++) { simple_request_body(f); } - gpr_atm_no_barrier_store(&g_log_func, test_no_log); + gpr_atm_no_barrier_store(&g_log_func, (gpr_atm)test_no_log); simple_request_body(f); - gpr_atm_no_barrier_store(&g_log_func, gpr_default_log); + gpr_atm_no_barrier_store(&g_log_func, (gpr_atm)gpr_default_log); end_test(&f); config.tear_down_data(&f); } |