From: Remi Collet Date: Mon, 29 Jan 2024 16:05:04 +0000 (+0100) Subject: Fix incompatible pointer types X-Git-Tag: v2.2.3~1^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=refs%2Fheads%2Fissue-pointers;p=m6w6%2Fext-pq Fix incompatible pointer types --- 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");