summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-28 00:16:32 +0200
committerAnatol Belski <ab@php.net>2014-08-28 00:21:12 +0200
commitca0069bc338869b105cee08292130ebac4a4000b (patch)
tree9cdf4d10b523de31b94ffff3c41c9ab583204ea0 /ext/pgsql
parentdadbbf8945fd24e3dcfd19504d47c01381ade6f9 (diff)
downloadphp-git-ca0069bc338869b105cee08292130ebac4a4000b.tar.gz
fix remaining 's' args for pgsql
Diffstat (limited to 'ext/pgsql')
-rw-r--r--ext/pgsql/pgsql.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index a646933e76..3ee49b762e 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -1919,7 +1919,8 @@ PHP_FUNCTION(pg_query_params)
zval *pgsql_link = NULL;
zval *pv_param_arr, *tmp;
char *query;
- size_t query_len, id = -1, argc = ZEND_NUM_ARGS();
+ size_t query_len;
+ int id = -1, argc = ZEND_NUM_ARGS();
int leftover = 0;
int num_params = 0;
char **params = NULL;
@@ -3755,7 +3756,7 @@ PHP_FUNCTION(pg_lo_seek)
PHP_FUNCTION(pg_lo_tell)
{
zval *pgsql_id = NULL;
- long offset = 0;
+ zend_long offset = 0;
pgLofp *pgsql;
int argc = ZEND_NUM_ARGS();