blob: 4f7408654a93b3ff5cd2089cb7bbc1d520f3c329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|