X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqres.c;fp=src%2Fphp_pqres.c;h=802fcf4a85484b506ed1c87cc58126869b7704df;hp=e3986c529121650e200e3869273689ad1e8017b6;hb=ea88a82879ac87d41c03d80ea285d843346f2114;hpb=77dce501422e1402bb70ba3aad94e070850aaa3b 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");