fix error "passing 'const char *' to parameter of type 'void *' discards qualifiers"

pull/23148/head
Jan Tattermusch 5 years ago
parent 4c303a387e
commit 35dc47a1c3
  1. 2
      src/csharp/ext/grpc_csharp_ext.c

@ -224,7 +224,7 @@ grpcsharp_batch_context_reset(grpcsharp_batch_context* ctx) {
grpcsharp_metadata_array_destroy_metadata_only(
&(ctx->recv_status_on_client.trailing_metadata));
grpc_slice_unref(ctx->recv_status_on_client.status_details);
gpr_free(ctx->recv_status_on_client.error_string);
gpr_free((void*)ctx->recv_status_on_client.error_string);
memset(ctx, 0, sizeof(grpcsharp_batch_context));
}

Loading…
Cancel
Save