summaryrefslogtreecommitdiffstats
path: root/yaml-build.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-08-09 11:16:52 +0200
committerRemi Collet <remi@php.net>2024-08-09 11:16:52 +0200
commit2394aab0148961b680838786aa4a1ad96c818e14 (patch)
tree0663ecbdd70a0068200b8feea8d8128bcecb624a /yaml-build.patch
parente6d197b97e0d3090481899b5ea5f48a03f61b145 (diff)
clean
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