summaryrefslogtreecommitdiffstats
path: root/yaml-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'yaml-build.patch')
-rw-r--r--yaml-build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/yaml-build.patch b/yaml-build.patch
new file mode 100644
index 0000000..4f74086
--- /dev/null
+++ b/yaml-build.patch
@@ -0,0 +1,22 @@
+From 84d72fcdcf64f39a55a262db23b64b0b58b08a17 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 6 Mar 2023 09:29:07 +0100
+Subject: [PATCH] Fix [-Wincompatible-pointer-types] warning
+
+---
+ parse.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/parse.c b/parse.c
+index e63f3d8..17f70ba 100644
+--- a/parse.c
++++ b/parse.c
+@@ -531,7 +531,7 @@ void handle_sequence (parser_state_t *state, zval *retval) {
+ /* apply callbacks to the collected node */
+ if (Y_FILTER_FAILURE == apply_filter(
+ retval, src_event, state->callbacks)) {
+- zval_ptr_dtor(&retval);
++ zval_ptr_dtor(retval);
+ ZVAL_UNDEF(retval);
+ goto done;
+ //TODO Sean-Der