mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 07:29:19 +02:00
Also, fix pkg_setup stub from testing. Closes: https://bugs.gentoo.org/939544 Signed-off-by: Sam James <sam@gentoo.org>
22 lines
912 B
Diff
22 lines
912 B
Diff
https://bugs.gentoo.org/939544
|
|
https://github.com/grpc/grpc/issues/37731
|
|
https://github.com/grpc/grpc/pull/37741
|
|
|
|
From 18a89be44d54e8c8bd614f1cee626d1db598a45a Mon Sep 17 00:00:00 2001
|
|
From: alto-ruby <altorubys@gmail.com>
|
|
Date: Mon, 16 Sep 2024 17:33:04 -0700
|
|
Subject: [PATCH] fix incompatible pointer type of
|
|
grpc_compression_algorithm_name
|
|
|
|
--- a/src/ruby/ext/grpc/rb_compression_options.c
|
|
+++ b/src/ruby/ext/grpc/rb_compression_options.c
|
|
@@ -296,7 +296,7 @@ VALUE grpc_rb_compression_options_level_value_to_name_internal(
|
|
* Fails if the enum value is invalid. */
|
|
VALUE grpc_rb_compression_options_algorithm_value_to_name_internal(
|
|
grpc_compression_algorithm internal_value) {
|
|
- char* algorithm_name = NULL;
|
|
+ const char* algorithm_name = NULL;
|
|
|
|
if (!grpc_compression_algorithm_name(internal_value, &algorithm_name)) {
|
|
rb_raise(rb_eArgError, "Failed to convert algorithm value to name");
|
|
|