diff options
Diffstat (limited to 'rdkafka-php8.patch')
-rw-r--r-- | rdkafka-php8.patch | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/rdkafka-php8.patch b/rdkafka-php8.patch index 4199489..a574191 100644 --- a/rdkafka-php8.patch +++ b/rdkafka-php8.patch @@ -1672,7 +1672,7 @@ index 71ad2f3..d44b895 100644 +void create_kafka_error(zval *return_value, const rd_kafka_error_t *error); #endif diff --git a/message.c b/message.c -index f3911f9..f4c4c7f 100644 +index d8b7dc3..f4c4c7f 100644 --- a/message.c +++ b/message.c @@ -32,7 +32,7 @@ @@ -1684,8 +1684,12 @@ index f3911f9..f4c4c7f 100644 { object_init_ex(return_value, ce_kafka_message); -@@ -51,21 +51,21 @@ void kafka_message_new(zval *return_value, const rd_kafka_message_t *message TSR - uint i; +@@ -48,24 +48,24 @@ void kafka_message_new(zval *return_value, const rd_kafka_message_t *message TSR + const void *header_value = NULL; + size_t header_size = 0; + zval headers_array; +- size_t i; ++ uint i; #endif /* HAVE_RD_KAFKA_MESSAGE_HEADERS */ - zend_update_property_long(NULL, return_value, ZEND_STRL("err"), message->err TSRMLS_CC); @@ -2915,7 +2919,7 @@ index 128fec0..677203d 100644 +void kafka_metadata_topic_minit(INIT_FUNC_ARGS); +void kafka_metadata_topic_ctor(zval *return_value, zval *zmetadata, const void *metadata_topic); diff --git a/php_rdkafka.h b/php_rdkafka.h -index 4188749..19bef56 100644 +index e007877..19bef56 100644 --- a/php_rdkafka.h +++ b/php_rdkafka.h @@ -22,7 +22,6 @@ |