From ea88a82879ac87d41c03d80ea285d843346f2114 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Jan 2024 17:05:04 +0100 Subject: [PATCH] Fix incompatible pointer types --- src/php_pqres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/php_pqres.c b/src/php_pqres.c index e3986c5..802fcf4 100644 --- a/src/php_pqres.c +++ b/src/php_pqres.c @@ -1172,7 +1172,7 @@ static PHP_METHOD(pqres, count) { zend_restore_error_handling(&zeh); if (SUCCESS == rv) { - long count; + zend_long count; if (SUCCESS != php_pqres_count_elements_ex(Z_OBJ_P(getThis()), &count)) { throw_exce(EX_UNINITIALIZED, "pq\\Result not initialized"); -- 2.30.2