From c5edf94003309812a2189c407bf8a1513db08618 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Fri, 11 Apr 2025 22:39:11 +0100 Subject: [PATCH] ext/gmp: Use zend_result type instead of int type --- ext/gmp/gmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index f38ffef17aa..80c767181d5 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -514,7 +514,7 @@ static int gmp_unserialize(zval *object, zend_class_entry *ce, const unsigned ch mpz_ptr gmpnum; const unsigned char *p, *max; zval *zv; - int retval = FAILURE; + zend_result retval = FAILURE; php_unserialize_data_t unserialize_data; zend_object *zobj;