diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-09-17 23:43:30 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-09-17 23:55:58 -0700 |
commit | 9eb8672bbe02dc47f2f667b99670b215d7431ef0 (patch) | |
tree | 0576f784c49829f16ff7d1cc4444f805e7598f1c /test/core/end2end | |
parent | c8cbddae0be904713bcf39d1363b27134adbfc3b (diff) |
Removing deprecated string to char * conversions
Diffstat (limited to 'test/core/end2end')
-rw-r--r-- | test/core/end2end/tests/compressed_payload.c | 2 | ||||
-rw-r--r-- | test/core/end2end/tests/stream_compression_compressed_payload.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/compressed_payload.c b/test/core/end2end/tests/compressed_payload.c index 429717a7be..639af15454 100644 --- a/test/core/end2end/tests/compressed_payload.c +++ b/test/core/end2end/tests/compressed_payload.c @@ -228,7 +228,7 @@ static void request_for_disabled_algorithm( /* with a certain error */ GPR_ASSERT(status == expected_error); - char *algo_name = NULL; + const char *algo_name = NULL; GPR_ASSERT(grpc_compression_algorithm_name(algorithm_to_disable, &algo_name)); char *expected_details = NULL; gpr_asprintf(&expected_details, "Compression algorithm '%s' is disabled.", diff --git a/test/core/end2end/tests/stream_compression_compressed_payload.c b/test/core/end2end/tests/stream_compression_compressed_payload.c index 11e7999a1c..5a69091a57 100644 --- a/test/core/end2end/tests/stream_compression_compressed_payload.c +++ b/test/core/end2end/tests/stream_compression_compressed_payload.c @@ -228,7 +228,7 @@ static void request_for_disabled_algorithm( /* with a certain error */ GPR_ASSERT(status == expected_error); - char *algo_name = NULL; + const char *algo_name = NULL; GPR_ASSERT( grpc_stream_compression_algorithm_name(algorithm_to_disable, &algo_name)); char *expected_details = NULL; |